Method: Dummy variable is used for analysis of covariance and analysis of variance.
Conclusion: It is easy to understand the analysis of covariance and analysis of variance can also be considered in regression analysis setting by defining appropriate dummy variables.