0
$\begingroup$

I am trying to figure out the equations y=f(x) of the red dashed lines in this log-linear graph where the x values were plotted on a logarithmic scale while the y values were kept linear.

enter image description here

I tried to figure it out from the table below which revealed a geometric serie starting from the third X value (i.e x=25) but I am not sure how i can utilize mathematica to resolve this issue.

.enter image description here

$\endgroup$
1
$\begingroup$

Using the incidence data from your table:

loglinIncidence = {Log10[#1], #2} & @@@
   Transpose@{{5, 10, 25, 50, 100, 200}, {1, 1.11, 1.27, 1.4, 1.55, 1.71}};
model = LinearModelFit[loglinIncidence, {1, x}, x]

Plot[
 model[x], {x, Log10[5], Log10[200]},
 Epilog -> {Red, PointSize[0.02], Point[transformedData]}
]

model

plot

One should then be able to do the same with the mortality data set to get your second equation.

$\endgroup$
2
  • $\begingroup$ @MarcoB.Thank you so much! $\endgroup$ Nov 23 '16 at 19:41
  • $\begingroup$ @PureFunction Glad to help! $\endgroup$
    – MarcoB
    Nov 23 '16 at 21:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.