Question about Texas Instruments TI-84 Plus Silver Edition Graphic Calculator

# Line Regression If I type in LinReg(ax+b) Y1 An error comes up it says INVALID DIM. Somebody please help! I have a test in 2 days. I would really really appreciate it

Posted by on

### Anonymous

I had the same problem and that solution worked for me too. :))

Posted on Aug 13, 2008

### Anonymous

Thank you very much! It did work on the TI-84 plus.

I'm very relieved because I've a exam tomorrow.

Posted on Jun 16, 2008

### Anonymous

Hey I had this SAME PROBLEM!! Okay, here's the solution that FINALLY worked for me:

1. Go to STAT PLOT (2nd, then Y=)
2. Press "4" (PlotsOff)
3. Press the ENTER button (it should say "Done" on th second line)
4. Continue Graphing
I sincerely hope this tip helps!

Posted on Nov 13, 2007

×

my-video-file.mp4

×

## Related Questions:

### Linear Regression - Error DATA TYPE

I had the same problem. Try this:
-Press [2ND] and then [+] (Memory menu)
-Then select ClrAllLists (4)

Worked for me

Apr 01, 2012 | Office Equipment & Supplies

### I have a TI-84 plus calculator. I enter data into a table (L1 & L2) and go through the steps to get an equation for the data. Next, I should be able to press VARS, move to Y-VARS, select FUNCTION,...

--Next, I should be able to press VARS, move to Y-VARS, select FUNCTION, then select Y-1 and automatically enter the equation into Y-1.-
is not correct.

When you press [STAT[>][CALC][4:LinReg(ax+b)] or any other regression model,the command echoes on the main screen. If you press [ENTER] at this point, the calculator uses by default lists L1 and L2 and displays the resulting equation without copying it in a Y-variable.

If you want to have the equation copied on a Y-function, you should modify the command as follows
LineReg(ax+b) [SHIFT][1: L1] [,] SHIFT[2:L2] [,] [VARS][>:Y-Vars] [1:Function][1:Y-1][ENTER].

Here, [>] stands for RightArrow. For any other regression model, use the appropriate command.
At this point, the command line should look like the following:

LinReg(ax+b) L1, L2, Y1

Press [ENTER] to calculate you get the same screen as when you do not save the equation in Y1, but if you go to the Y= editor or press GRAPH, you will see the regression line superposed on the scatter plot.

Jul 13, 2011 | Texas Instruments TI-84 Plus Calculator

### How do u store linreg(ax+b)as y1 on ur graphic calculater

When you press [STAT] and right Arrow to highlight CALC you see two linear regression model [4:LinReg(ax+b)] and [8:LinReg(a +bx)]
If you select [4: ...] the command echoes on main calculator screen as LinReg(ax+b) and a blinking cursor
If you press [ENTER] you will get your equation, a, b, and r^2 if DiagnosticsOn command has been executed before. However you will not be able to see the line of best fit on top of the raw data scatter plot.

To save the equation of best fit in a function variable, ex Y1, you complete the command as follows
LinReg(ax+b) [VARS][=>][Y-VARS][1:Function][1:Y1]
The Y1 variable will appear on main calculator screen, and you have
LinReg(ax+b) Y1
Press [ENTER]
Screen display the equation, its parameter and its correlation coefficients (if so configured).
Press [GRAPH] to draw the line of best fit on top of the scatter plot.

Here are two screen captures to show you the equation and the line of best fit.

As you can see from the value of r^2, and the graph, a linear regression does not seem good.

Feb 01, 2010 | Texas Instruments TI-84 Plus Calculator

### You are given the following data. x y 2 16 3 11 4 12 5 15 5 11 7 8 7 11 Find: - SS(x) - SS(y) - SS(xy) - The linear correlation coefficient, r - The slope b1 - The y-intercept, b0 - The equation of the...

OK, you convinced me to do your homework for you.

Before doing statistics, you have to prepare the calculator by clearing old data that may generate errors.

A. To clear old data

1. Press [2nd][+] (MEM) to open the memory management screen.
2. Press [4:ClrAllLists]
3. The command echoes on main screen, press [ENTER] to run it.
4. Calculator displays Done.
B. Run the SetUpEditor command
1. Press [STAT][5:SetUpEditor] [ENTER] ; calculator displays Done.
C. Turn DiagnosticsOn option (optional)

To obtain the correlation coefficient in a statistical analysis on the TI8xPlus family of calculators you must activate the DiagnosticsOn option. To access the command
1. You press [2nd] [0] (CATALOG)
2. While the list of commands is displayed, press [X^-1] (D)
3. Cursor jumps to first command that starts with D, dayOfWk(
4. Press the DownArrow 9 times to reach DiagnosticsOn
5. Select it and press [ENTER]
6. Command echoes on main calculator screen with blinking cursor
7. Press [ENTER] to set the option
8. Calculator displays Done.
From now on, if a correlation coefficient has meaning for a regression model, it will be calculated along with the other statistical results. If it has no meaning to the model it will not be calculated.

D. Enter the data
Press [STAT][1:Edit]
Type in the X values in L1 and the Y values in L2 (see picture 1)

To obtain the statistical results
1. After you finish entering the data, press [2nd][Quit] to exit StatEditor.
2. Press [STAT] and highlight Menu (CALC)
3. In the list select [2:2-Var Stats]
4. Command echoes on main screen.
5. Press [ENTER] to calculate the stats
Here is what you get (with you data).

Notice the down arrow next to n=7. That means the results screen has more values. Press the down arrow to display.

You notice that the n=7 line now has an arrow pointing Up. Notice the Down Arrow on the bottom line (more data is coming). Here is the rest of the statistical results.

There is no arrow at the bottom of the picture. End of statistical results.
The screen captures with 2-Var Stats summarize all the satistics. Some of the values your are looking for are among the result. NOW it is you mission to identify what you need (I chewed all the work for you).
However there is no correlation coefficient, no line of best fit, etc. To obtain that you have to perform a regression analysis.

Perform a Regression analysis
To perform a regression analysis, you must try several regression models and then find the one that mimicks the raw data best. In this particular case, you have already decided to do a linear regression, and that is good for me. I do not have the time to take you through all of them. A linear regression it will be.

1. Press [STAT] , highlight [CALC]
2. In the list of regression models select [4:LinReg (ax+b)
3. The command LinReg(ax+b) echoes on main calculator screen.
4. If you press [ENTER] you will get you equation but you will not be able to draw the curve on top of your data to verify the goodness (no it is not a swear word) of the fit. So you must save the equation as a function in Y1 variable.
5. While LinReg(ax+b) command is still in command line, press the [VARS] key.
6. Highlight the [Y-VARS] menu and select [1:Function], then press [ENTER].
7. In the Y function variable list select [1:Y1]
8. At the command line, you have LinReg(ax+b) Y1.
9. Press [ENTER] to save the equation of best fit in Y1.

The slope is a and the y-intercept is b. You also have r and its square. You need to read your theory to know which of the two correlation coefficients you have been asked to obtain.

Since you saved the equation in the Y1 function you can draw it. You just have to press GRAPH and it will be drawn. But that will not tell how good the fit is, until you see the function drawn on top of the raw data.

Drawing the scatter plot and the raw data on the same screen.

Regardless of the curve of best fit, you can draw a scatter plot as follows.
1. Press [2nd][Y=] (STATPLOT)
2. Select [1:Plot1...Off] to open plot1 configuration screen
3. Use arrow to highlight On
4. Use the down arrow to move cursor to the line Type.
5. Select the first icon for a scatter plot. NOTE: To navigate the 6 statistical stat plots on the line Type, use the right or left arrow (to backtrack), but not the Up or down arrows.
Here is the configuration screen

Here plot1 is active (ON), it is scatter plot (first icon) the Xlist is L1 by default but you can change it to some other list. Notice the highlighted A cursor on XLIST line. It means that the [ALPHA] keyboard is active.
On the line Mark you can choose the appearnce of the raw data point.

And here is your two graphs: the raw data scatter plot and the line of best fit on the same screen

Now, it is up to you to accept this model or to try another model.

N

Jan 21, 2010 | Texas Instruments TI-83 Plus Calculator

### How do I use stat plot to graph a set of points?

Hello,
1.Press [MODE], scroll to set Function graphing mode.
2.Press [STAT] [5:SetUpEditor], command is pasted in home screen. Press [ENTER]. Screen displays Done. This clears old values in lists

3. Press [STAT][1:Edit] to enter data.
Press [ENTER] after each number. Cursor moves to next row. After finishing the data of Listt L1, use arrow right and UP to the head of list L2. Enter the values in list L2. Press Enter after last element.

4. Press [Y=] to display Y= editor. Clear function Y1 and all functions or remove highlight from the = in Y2, Y3, etc.
5.Press [2nd][STATPLOT]1 to select 1:Plot1

The blinking cursor on ON means graph will be drawn. Type chosen is Scatter plot. Mark chosen is a dot.

Press [ZOOM][9:ZoomStat]

If you think that the curve look like a straight line you can try to do a linear regression.
Press [STAT] Arrow right to highlight [CALC]
Select [4: LinReg(ax+b)]

LinReg(ax+b) echoes on run screen. Press [2nd] L1 Press comma, Press [2nd] L2 press comma Press [VARS] Arrow right to select [Y:VARs][1:Function] [ENTER][1:Y1]

ENTER

That is the equation for the linear regression. As you see eqaution has been saved in Y1. Press [GRAPH] to get the data and the regression curve drawn on same graph.

Hope it helps.

Oct 04, 2009 | Texas Instruments TI-84 Plus Calculator

### TI-84 Plus Linear Regression (ax+b) ERR:DIM MISMATCH

Hello,
Some old configuration settings, or old variables are spoiling your fun. Clear the RAM and start again.
Hope it helps.

Sep 28, 2009 | Texas Instruments TI-84 Plus Calculator

### Linreg

enter your data into L1 as x-coordinates and L2 as y-coordinates at (STAT) + (EDIT) and then turn on your StatPlot. Finally, press (STAT) ->(CALC) -> (4)LinReg(ax+b) and (L1) (,) (L2) (Y1)
nb: Y1 could be find from (VARS) -> (Y-VARS)->(1:Function...)

Apr 25, 2008 | Texas Instruments TI-84 Plus Calculator

### LinReg (ax+b)

just press (2nd) + (MEM)+(7) + (1)+ (2) and then try again.;)

Apr 23, 2008 | Texas Instruments TI-84 Plus Calculator

### Domain error

It's the "Exact/Approx" setting under the [MODE] key. I used to have it on "Exact" and got the domain error issue, but then changed it to "Auto" and it works. IMO, this is a really weird quirk that TI should have ironed out before releasing the TI-89.

Apr 02, 2008 | Texas Instruments TI-89 Calculator

### Error: Invalid Dim

this happened to me as well. i looked it up and heres what i found:
http://www.prenhall.com/divisions/esm/app/graphing/ti83/faq/faq.html

basically you have a stat plot on so to turn it off, press 2nd and then the Y= button to get to "Stat Plot"
one of them is turned on so press enter and select OFF. this should fix the problem!

Sep 18, 2007 | Texas Instruments TI-83 Plus Calculator

## Open Questions:

#### Related Topics:

606 people viewed this question

Level 3 Expert