Dear all,
I am wondering how to compute the marginal effects of a factor variable if the number of observations in each level have changed. For example, let us use the “auto.dta” as the example, and the current observation in each level of rep78 lists as follows:
Array
After running a regression: regress mpg i.rep78, its results are as belows:
Array
Then, I am curious about whether it is possible to compute the marginal effects of each level of rep78 when the number of observations in each level have changed. Let us suppose, the number of observations in level 1-level 5 has changed to the number of observations in level 1-level 5 has changed to 8, 5, 20, 16, 20, respectively.
C-
Pengcheng
Related Posts with Questions on computing the marginal effects of the factor variable
tiva2018 packageDear Stata users, https://algobank.oecd.org:4430/CC/ti...-stata-package Here is test version of a …
META ANALYSIS - meta regression -Prevalence studyHi to everybody. I've to do a metaregression analysis of Prevalence study. The aim of the study is: …
operationalise 'education' in cross-national surveyHi there, I'd like to include education as a control in my analysis. I am using the ESS, so my data …
reshape for matchingI need an urgent help pleeeeease. I am going to do matching comparison between intervened group ( in…
year dummies multicollinearityIn my fixed effects regression of about 30 panels in 30 years when i include year dummies by using -…
Subscribe to:
Post Comments (Atom)
0 Response to Questions on computing the marginal effects of the factor variable
Post a Comment