I have entered a categorial variable (country) to a regression and I coded their values in Effect coding (0, 1, -1). In other words, I put them in the regression to get the 'beta' values of the coefficients as in the post-regression contrast (compared to the grand mean). I did the analysis twice, each time another country got the value -1 in order to getting data also about the comparison country.
I ended up getting results of the two regressions with the same coefficients, standard deviations, and significance. Only the value of the beta came out different the two times I ran the regressions. I don't understand how it can be! To my understanding, beta is simply the standardized coefficient.
I attach both outputs, marked a random country, but you can see that in both outputs all the values of all countries are completely identical except the 'beta' values. Array Array
Questions:
A. How can such a situation arise? How is the beta calculated in stata ?
B. How, however, can I get the correct 'beta' values for a categorical variable in the effect coding for comparison to the grand mean? Is there any way to do this in Stata?
Thanks!
Related Posts with different 'Beta' values in the same Effect coding in regression
Problem using xtprobit with lagged independent variablesHello, I am using panel data, where my dataset includes 16 different target firm characteristics an…
Reshaping multiple variablesDear reader, I have a dataset with many variables for different key statistics in a company that st…
Clustering TendencyDear Stata Users, I want to evaluate the clustering tendency of my data set consisting of the observ…
Trying to link specific values across three different datasets with close to a million observations.Hello everyone, I am writing a thesis in which I will analyze the application behaviour of top perf…
Question on Stata's svy: with suestHi Forum, I am using the 2013 Canadian General Social Survey, which allows its data to use the svys…
Subscribe to:
Post Comments (Atom)
0 Response to different 'Beta' values in the same Effect coding in regression
Post a Comment