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
List string values of multiple varlistsHi everyone, I am trying to list the string values of two varlists (med_other_ind* and med_name*) w…
Generate/replace new variables in a repetitive way for all the individuals.Hello, everyone. Below is my data and variable name "salary21" means salary of PID 21, and each val…
How to use lnmvnormalden(M,V,X) function (natural logarithm of the multivariate normal density)?I need to calculate the (logs of) bivariate normal densities for a large number of observations on t…
Small sample of 38 observationsHi, I have a panel data of 26 countries and 21 years, but I am only concerned with 38 observations.…
Conflicting results in did and dose response modelsDear All, I am looking to the impact of Syrian mass migration on the firm-level performance measure…
Subscribe to:
Post Comments (Atom)
0 Response to Plotting a curve with trigonometric functions
Post a Comment