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
Staggered difference in differenceDear Statalist Community, I am experiencing studying the impact of the introduction of body cameras…
Problem with similar equation (gen)Hello everyone! I am new in this forum. I face a problem with the following: When I write gen Demp…
Compute covariance and store in columnMy data are the following. I want to compute the covariance of dclose and dclose_lag for each ticker…
Help with standard deviations of oaxaca commandDear all, I'm trying to replicate the results of the oaxaca9 command manually, but I have problems …
Creating a list of most common households in a census dataset.I have a dataset which shows the population of Copenhagen in the late 1800s. And I am interested in …
Subscribe to:
Post Comments (Atom)
0 Response to Linear regression using a time variable
Post a Comment