Hi, I am running a backwards stepwise linear model with factor and continuous predictor variables. My code is:
xi: stepwise, pr(0.1) pe(0.05): regress SCORE i.SexMale i.age_group i.lives_alone i.assistance respiratory_problem spasticity_problem etc etc
Some of the factor variables have more than one level and I want to get an overall p-value in the model for the variable rather than for each level. Is this possible, and if so, how?!
Thanks
Related Posts with how do I get an overall p value for independent factor variables in linear regression
how to calculate output of r(alpha) (short example included)?My deepest apologies if this is difficult to work with. I'm not a stata user, i'm just trying to dec…
assign variable label to variable nameHi I have a dataset that has some variables, say, X1-X10. The corresponding variable labels are 2018…
Create new variables using two categorical variablesI have three variables gender sector and wf. Gender and sector are categorical variables, where gend…
required the sampled required the sampled firms to have at least five observations in the data setplease i required the sampled required the sampled firms to have at least five observations in the d…
What should I do to achieve the following result.? Code: * Example generated by -dataex-. For more info, type help dataex clear input str3 code str29 …
Subscribe to:
Post Comments (Atom)
0 Response to how do I get an overall p value for independent factor variables in linear regression
Post a Comment