We have a dataset of heart rate variation over time during a 5-minute session (increments of 30 data points per second for 5 minutes) with 30 participants. The session was preceded and followed with a questionnaire asking about participants' intention to purchase a product. We would like to test if regardless of the time point during the session, participants' level of heart rate predicts intention to purchase (measured only before and after the session and labeled as t0_likelyhood and t1_likelyhood). Can we use xtgls to predict this outcome? Using a long-shaped dataset, we get the following. Can I trust these results?
Array
Related Posts with Use a time-limited outcome variable with xtgls?
Firm, industry and event fixed effects in a regression modelI am doing an event study on the impact of ESG on stock returns. I have performed the event study it…
qregsel implementationDear members Am implementing the recommendations in this paper https://www.stata.com/meeting/us20/s.…
How to create bottom 26% of the populationHi, I have been using thus far xtile quin=mpce[aw=weight], n(5) to create bottom 20% of the populat…
Panel data with lagged independent variables and dependent variable only two periodsHi Member, Please, does anyone could help me? I need to lag and lead one independent variable in my …
Problem with -replace- var ... if ... I was suprised to see that the last two commands ("replace new_var = 0 [...] and replace new_var = …
Subscribe to:
Post Comments (Atom)
0 Response to Use a time-limited outcome variable with xtgls?
Post a Comment