Hello
i have dataset contraining 2 groups (treatment and control, defined by variable treat which could be 0 or 1); each subject plays five rounds of a game. The score of each round is defined by the varibale score_r1; score_r2;....
Now i want to regress the score for each group and put them in a combined plot. Does anyone have a top or knowldge about my problem, since i don´t really know how to start, because i have not used stata before.
Thanks you to anyone who can help me out.
Related Posts with Linear Regression based on Groups
Question (Omitted for multicollinearity)Dear all, I am running some regressions in which I want to investigate the role of foreign technolo…
Trouble Exporting a Table 1 Into a PDF Directly From Stata CommandsHi all, I am currently doing research, so I will use a sample example from this link to ask my quest…
Spatial Panel Data and Spatial Weight MatrixHi all, I use Stata 17 to create a spatial panel dataset of more than 3000 US counties and 5 time p…
Creating Annual/Yearly VariableHello Statalisters, I need to generate an annual variable from 2014 to 2020 in my data set. Current…
Getting selected variables from cvlassoMy read of "help cvlasso" is that e(varXmodel) should contain only variables chosen by cvlasso. Howe…
Subscribe to:
Post Comments (Atom)
0 Response to Linear Regression based on Groups
Post a Comment