Good afternoon!
I regress the model:
GDP = β0 + β1ERR1 + β2ERR2 + ơ1Pop+ ơ2Surf + ơ3ExGS + ơ4ExpEd + ơ5RIR + u
My main focus is ERR variable which is categorical (exchange rate regime of the country). The base level is floating regime, ERR1 is pegged regime and ERR2 is residual regime.
Thus, I need to test significance of these variable (ERR). I try to use command ttest, but Stata shows me mistake.
ttest GDP, by(ERR)
more than 2 groups found, only 2 allowed
I tried to understand more appropriate test on https://stats.idre.ucla.edu/other/mult-pkg/whatstat/, but the table is not clear.
Could you recommend which test to use for whole model to asses it and test separately for categorical variable?
I need to understand significance of the model and of the variables. So I more lean to F test for whole model and t and p tests for variables. Thank you!
Related Posts with Which test is better to use with categorical variables?
margins at percentilesHi Statalists, I have code like this: Code: regress y x1 x2 x3 egen p10 = pctile(x1), p(10) egen …
Standerdized diffrence calculation in complex weighted dataHey guys, I am trying to calculate the standardized differences in complex weighted data. I was abl…
PPML Gravity Model: interacting continuous variablesGood afternoon! I am estimating a PPML gravity model of trade adding an index of ethnic fractionalis…
how to use the value of variable A in last year for variable B in this yearHi everyone, I would ike to create a new variable whose value equals to the value of another variab…
Combining values for multicode response variables to create a new cumulative variableI need to create a total variable that will sum the code frequencies from each response variable. I…
Subscribe to:
Post Comments (Atom)
0 Response to Which test is better to use with categorical variables?
Post a Comment