I need to plot a curve as y = f(t), where t is the time, in the following way.
y= 0 at t=-5
- first interval t=-5 to t=0: y slightly increasing
-second interval t=0 to t=5: y slightly increasing
-third interval t=5 to t= 10: y increasing at an increasing rate
-forth interval t=10 to t=15: y increasing at a decreasing rate
-fifth interval (smaller) t=15 to t=18: y unchanged
-sixth interval(smaller) t=18 to t=21: y decreasing at an increasing rate
-seventh interval (smaller) t=21 to t=24: y decreasing at a decreasing rate
I am unable to get the exact required shape.
Please note that the t values for intervals are just to explain the shape so they can be different. I think this can better be done by using trigonometric function. Any help in this regard!
Related Posts with Plotting a curve with trigonometric functions
Defining Pseudo PanelHi All, I am currently using the world bank enterprise survey data for my PhD research. This is fir…
Syntax for a mixed-effect repeated measures modelDear Statalisters, I am trying to implement a mixed-effet repeated measures model that was describe…
Outreg2: export table with marginal effect, standard error and p-valueI would like to use outreg2 to export result of logistic regression as a .xls file with marginal eff…
Merging variables into one variable after rehapingHi everyone, this is my first post to Statalist so I kindly request some patience as well as welcome…
Tabout export tables to word/csvI am trying to export a frequency table generated by tab2 or tabout. Code: local var a b c d e f …
Subscribe to:
Post Comments (Atom)
0 Response to Plotting a curve with trigonometric functions
Post a Comment