Post Reply 
Scatter Charts and Sine Regression
01-24-2014, 01:48 PM
Post: #1
Scatter Charts and Sine Regression
Hello,
I'm new to graphing calculators and pre-calculus. So far the Prime has helped tons to visualize things. After spending most this week trying to figure this issue out and having no luck, I'm hoping maybe someone here can point me in the right direction.

My current section involves graphing sinusoidal data. The book uses the SinReg function of a TI-84 to explain how to get the sine equation (y= a*sin*ω(x-c)+b) from the scatter points. I've been having issues getting it to work on the Prime.

For one example, I go to Statistics 2Var and enter the data:
Code:

    C1      C2
1:   0      2.1
2:   2      1.1
3:   4     -0.8
4:   6     -2.1
5:   8     -1.3
6:  10      0.6
7:  12      1.9
8:  14      1.5

Then for Plot Setup I use X Rng: -1, 15 Y Rng: -3, -3 and the scatter points appear looking similar to cosine graph. The question requires me to use the data to figure out the equation by hand for the cosine graph which fits the points. Doing so I get:

y= 2.1*cos(0.52x)

If I then place that equation in the Symbolic View for S1, select C1 and C2, User Defined fit and my cosine equation, the fit matches nicely.

I'm then required to use a graphing calculator to find the sine function that fits the data and refers to the before mentioned TI84 SinReg function. Their answer matches the scatter points nicely and has the equation:
y=2.05*sin(0.50x+1.55)-0.01

The only way I know so far to do this on the prime is in Symbolic View select the fit as Trigonometric. However, the resulting plot shows a small sine graph no where near the cosine graph and when returning to the Symbolic View shows the equation in the fit box of:
y= .18*sin(-14.77x+113.35)+.32

There have been a few other similar questions where the Trigonometric fit isn't anywhere near my scatter points. However, some questions it fits fine, such as with this data:
Code:

     C1       C2
 1:   1      40.0
 2:   2      43.1
 3:   3      54.6
 4:   4      64.2
 5:   5      73.8
 6:   6      81.8
 7:   7      85.8
 8:   8      83.9
 9:   9      76.9
10:  10     66.8
11:  11     55.5
12:  12     44.5

I don't know if I'm not setting something up right or if there's a different process for doing this on the Prime. I think it matches when the scatter points are close to a sine graph, but if they're closer to cosine then it seems the Trig fit won't work too well.

I'm still going through the User Manual and figuring a lot out. I've just been stuck on this for a while and hope to have some idea to finish the homework this next week.

Thank you.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Scatter Charts and Sine Regression - Azure - 01-24-2014 01:48 PM



User(s) browsing this thread: 1 Guest(s)