okoolo

10 Reputation

2 Badges

13 years, 257 days

MaplePrimes Activity


These are replies submitted by okoolo

ok got ..thanks guys

ok got ..thanks guys

works great , thanks..

question:

I need to test the significance of the sex coefficient, and for that I need the standard error so I can use it in my test statistic

is there a way to display standard errors as well as the coefficient estimates? 

works great , thanks..

question:

I need to test the significance of the sex coefficient, and for that I need the standard error so I can use it in my test statistic

is there a way to display standard errors as well as the coefficient estimates? 

that worked .. thanks a lot everybody

that worked .. thanks a lot everybody

actually that's a pretty good suggestion

 

I'm still having a bit of a problem with displaying contents of 

lnpqdata := map(ln, `<|>`(pdata, qdata)):

 

I was thinking of doing something along the lines of  eval(lpqdata[i,j],i=1..12,j=1..2] but from looking at the man files of eval I don't think that would work..

as a matter of fact is there a way to display the vector data in some sort of a table ( ie more user friendly to read) rather then just dumping 2 rows of data..

 

ex:  value of X:   lnpqdata(1,1)  lnpqdata (1,2)....... 

      value of Y:   lnpqdata (2,1) lnpqdata (2,2).......

 

any suggestions?

actually that's a pretty good suggestion

 

I'm still having a bit of a problem with displaying contents of 

lnpqdata := map(ln, `<|>`(pdata, qdata)):

 

I was thinking of doing something along the lines of  eval(lpqdata[i,j],i=1..12,j=1..2] but from looking at the man files of eval I don't think that would work..

as a matter of fact is there a way to display the vector data in some sort of a table ( ie more user friendly to read) rather then just dumping 2 rows of data..

 

ex:  value of X:   lnpqdata(1,1)  lnpqdata (1,2)....... 

      value of Y:   lnpqdata (2,1) lnpqdata (2,2).......

 

any suggestions?

maple 12 running on slackware current (kde 4.7.2)

using map(ln,p) worked like a charm 

 

quick question :

I'm trying to display values from 

lnpqdata := map(ln, <pdata|qdata>)

(maple worksheet doesn't display those values explicitly)

 

I figured I'll use eval(lnpqdata[i,i], i=1..12) but that doesn't work ..

 

maple 12 running on slackware current (kde 4.7.2)

using map(ln,p) worked like a charm 

 

quick question :

I'm trying to display values from 

lnpqdata := map(ln, <pdata|qdata>)

(maple worksheet doesn't display those values explicitly)

 

I figured I'll use eval(lnpqdata[i,i], i=1..12) but that doesn't work ..

 

sorry the code I have in maple has the tilde "~".. copy/paste missed it somehow  ..

 

restart;

with(plots);

q := [892., 1012., 1060., 987., 680., 739., 809., 1275., 946., 874., 720., 1096.];
p := [1.23, 1.15, 1.10, 1.20, 1.35, 1.25, 1.28, .99, 1.22, 1.25, 1.30, 1.05];

> lnx := ln~(p);
%;
Error, invalid input: ln expects its 1st argument, x, to be of type algebraic,
 but received [1.23, 1.15, 1.10, 1.20, 1.35, 1.25, 1.28, .99, 1.22, 1.25, 1.30, 1.05]

> lny := ln~(q);
%;
Error, invalid input: ln expects its 1st argument, x, to be of type algebraic,
 but received [892., 1012., 1060., 987., 680., 739., 809., 1275., 946., 874., 720., 1096.]
----------------------------------------------------------------------------

I also tried pagan's code and I have a similar issue:

lnpqdata := ln~( <pdata|qdata> ):
Error, invalid input: ln expects its 1st argument, x, to be of type algebraic,
 but received Matrix(12, 2, {(1, 1) = 1.23, (1, 2) = 892., (2, 1) = 1.15, (2, 2) = 1012.,  ....

sorry the code I have in maple has the tilde "~".. copy/paste missed it somehow  ..

 

restart;

with(plots);

q := [892., 1012., 1060., 987., 680., 739., 809., 1275., 946., 874., 720., 1096.];
p := [1.23, 1.15, 1.10, 1.20, 1.35, 1.25, 1.28, .99, 1.22, 1.25, 1.30, 1.05];

> lnx := ln~(p);
%;
Error, invalid input: ln expects its 1st argument, x, to be of type algebraic,
 but received [1.23, 1.15, 1.10, 1.20, 1.35, 1.25, 1.28, .99, 1.22, 1.25, 1.30, 1.05]

> lny := ln~(q);
%;
Error, invalid input: ln expects its 1st argument, x, to be of type algebraic,
 but received [892., 1012., 1060., 987., 680., 739., 809., 1275., 946., 874., 720., 1096.]
----------------------------------------------------------------------------

I also tried pagan's code and I have a similar issue:

lnpqdata := ln~( <pdata|qdata> ):
Error, invalid input: ln expects its 1st argument, x, to be of type algebraic,
 but received Matrix(12, 2, {(1, 1) = 1.23, (1, 2) = 892., (2, 1) = 1.15, (2, 2) = 1012.,  ....

thanks for the prompt replay .. this really clarified some stuff for me.

One issue

> lnx := ln(p);
Error, invalid input: ln expects its 1st argument, x, to be of type algebraic,
 but received [1.23, 1.15, 1.10, 1.20, 1.35, 1.25, 1.28, .99, 1.22, 1.25, 1.30, 1.05]
 

whattype(q) returns list and Describe(ln) returns algebraic, so it seems there's a conflict there

 

edit: wow the vector format is amazing it will be helpful for a large data set ( few hundred points in my case)

however a similar issue crops:

Error, invalid input: ln expects its 1st argument, x, to be of type algebraic,
 but received Matrix(12, 2, {(1, 1) = 1.23, (1, 2) = 892., (2, 1) = 1.15, (2, 2) = 1012., ...

thanks for the prompt replay .. this really clarified some stuff for me.

One issue

> lnx := ln(p);
Error, invalid input: ln expects its 1st argument, x, to be of type algebraic,
 but received [1.23, 1.15, 1.10, 1.20, 1.35, 1.25, 1.28, .99, 1.22, 1.25, 1.30, 1.05]
 

whattype(q) returns list and Describe(ln) returns algebraic, so it seems there's a conflict there

 

edit: wow the vector format is amazing it will be helpful for a large data set ( few hundred points in my case)

however a similar issue crops:

Error, invalid input: ln expects its 1st argument, x, to be of type algebraic,
 but received Matrix(12, 2, {(1, 1) = 1.23, (1, 2) = 892., (2, 1) = 1.15, (2, 2) = 1012., ...
Page 1 of 1