Dear All, Suppose that I have daily trading data for many years. (A sample of two-year data is "here"). I wish to generate a variable, say, event, which is equal to 0 on March 15 for each year. For trading data befoer March 15, `event' is equal to -1, -2, and so on. Similarly, for trading data after March 15, `event' is equal to 1, 2, and so on. Any suggestions are highly appreciated.
Related Posts with generate event time
Hausman testHi, For my thesis I am doing a panel data analyses, and I am trying to perform an Haussmen test to …
Saving F-statistics in a for loopHello, I am working on a project which requires testing the significance of a subset of of my regre…
generate event time across yearsDear All, Consider the following data (a duplicate post is here): Code: * Example generated by -dat…
Mann-whiteny U test representationHello I was wondering where to add the asterisk on a bar graph representing proportions of a three-l…
Problem in adding p-values of null hypothesis while creating a tableGreetings! As per the model on which I am working where I try to find the impact of mentoring versus…
Subscribe to:
Post Comments (Atom)
0 Response to generate event time
Post a Comment