You should be able to use user created lists… Did you use the L found in the list menu?

]]>I had to rewrite the code from the beginning to allow for the fact that the seq( and sortA(/sortD( commands don't like being in user created lists (L7 and upward)

Thank you soooo much! You have no idea how bitchin this is.

]]>This is exciting this programming thing!

]]>thank you! My first 2 questions b answered!

]]>For removing the zeroes: if the zeroes are just gonna appear like you say, you can use the seq( command to get a sub list.

` ``seq(L1(y),y,1,dim(L1)-1→L7 //for your y list seq(L2(x),x,2,dim(L2→L8 //for your x list`

This will take all elements, 1 to one less than last for y and 2 to last for x, and copy it to L7 and L8 respectively.

This is all I'm able to churn out of my head waking up. I'll have more ready if you still need help.

]]>Enough with the sympathy. What I am doing is taking the (y,x) values given to us in L1 and L2 respectively (Don't ask me why he gives us y values before x values, I just wrote my program around this so my dyslexia isn't compounded).

Now what we are doing are drawing Production Possibility Curves, calculating the difference between the consecutive (y,x) values (I store those in L3 and L4 respectively), then to calculate the Price Per Unit for both the X and Y supply curve.

This brings in to my program the first two questions I will have. The first one is, is there a way to procedurally create consecutive lists without doing it manually? (My Ti-84 Plus only goes to L6 before you need to enter more).

The second questions is: To calculate the supply curves for X and Y, once I have additional lists to store the values in, I need to take the original (y,x) (L1,L2) Lists, and store then in say, (L7,L8), but with the catch that all the values put in to (L7,L8) be in the same order, but x<0. I need all 0 values to be deleted from their row. Now each one of these data sets has a zero The Y set has one at the bottom, and the X set has one at the top. It would look like this:

5 0

4 1

3 2

2 3

1 4

0 5

Once the negative values are removed, it needs to resemble

5 1

4 2

3 3

2 4

1 5

That ends my first two primary questions. The next question I have is for automatically ordering values so I can graph order of hiring for resources.

I need to be able to take a row, and use the SortA( command and store that in say, L12

Once I have that done, I need to be able to take my values from my lists that have had 0 removed and the SortA( list, and use Linear Regression to make a line of best first best fit, and store that somewhere.

I know this is asking a lot but this is my first time REALLY programming, and I need a bit of help.

Currently my program looks like:

PROGRAM:ECON

:changeList(-L1)->L2

:changeList(L2)->L3

:L3/L4->L5 (OPPORTUNITY COST PER 1 UNIT OF X AS DESCRIBED IN Y's)

:L4/L3->L6 (OPPORTUNITY COST PER 1 UNIT OF Y AS DESCRIBED IN X's)

:L1->L7 (For Manual Removal of Zeroes)

:L2->L8 (For Manual Removal of Zeroes)

:L5->L9 (Setting up for LinReg, Y values for best hiring for production of X)

:L6->L10 (Setting up for LinReg, X values for best hiring for production of Y)

I have hopefully described this as best as I can. Thanks for any help given! I have tried to be as specific as possible.

]]>