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
Calculate at once using patternHello, I would like to calculate the employment and unemployment rate using estimates of labor forc…
Splitting a dateDoes anyone know how I can split a date that looks like this: 29jan2017 00:00:00 It is str18 varia…
Problem with using propensity score matching (psmatch2) while conducting an event studyDear Statalisters, I am using Stata 16 on an Apple Macbook. For my master thesis Financial Economi…
expand data.Dear All, I have this data set Code: * Example generated by -dataex-. To install: ssc install datae…
Use margins to obtain indirect marginal effects on a SUR modelHi, suppose I want to estimate the following system of equations, and that I want to capture how doe…
Subscribe to:
Post Comments (Atom)
0 Response to Linear regression using a time variable
Post a Comment