Hi all, I'm having some difficulties in doing a linear regression for my research.
My dataset consists of 361 respondents, with each of them being 'exposed' to two scandals on two different time occasions. That means that one respondents has four rows, two from before a scandal and two from after a scandal. We are working with four types of scandals and three response types in orde to check the effects on the dependent variable being "Watchingvids". Each respondent get exposed to two out of the 12 possible scenario's (scandals x responses) (see file)
How can I do a linear regression on Watchingvids taking into consideration that we need to check the difference between before and after the scandal?
Ik know this might sound vague, but please be free to ask additional questions so that I can make it more clear to you.
Thanks in advance for your help
Kind regards, Remi Letaief
Related Posts with Linear regression using a time variable
First Differences and Lagged VariablesHello Statalists, Is it possible to take both the first difference and a lag of the same variable u…
censored data tobit regressionI am trying to complete a tobit regression with censored data. This is because i am looking at expen…
Interpreting test results on panel data and how to correctly perform fixed effect regression on panel dataHi members, I have a large set of panel data with information about 166 bonds, containing some of t…
R script from STATAHello everyone, I am trying to run some R-code through STATA but I am experiencing some issues and …
Correct Functional Form SelectionI have been asked to verify the effect of water and sanitation on the mortality of children under th…
Subscribe to:
Post Comments (Atom)
0 Response to Linear regression using a time variable
Post a Comment