Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 837
Default Another LINEST bug

Help for LINEST states that

The array known_x's can include one or more sets of variables. If only one
variable is used, known_y's and known_x's can be ranges of any shape, as long
as they have equal dimensions. If more than one variable is used, known_y's
must be a vector (that is, a range with a height of one row or a width of one
column).

In particular,
=LINEST({1,1.5;2.5,3},{1,2;2,3},,TRUE)
should be equivalent to either
=LINEST({1;1.5;2.5;3},{1;2;2;3},,TRUE)
or
=LINEST({1,1.5,2.5,3},{1,2,2,3},,TRUE)

Prior to 2003, they were equivalent (as documented), but in Excel 2003, not
even the degrees of freedom for =LINEST({1,1.5;2.5,3},{1,2;2,3},,TRUE) match
the documented behavior.

What happens in 2007?

Jerry
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Another LINEST bug

Jerry,
In XL2007 with all three I get
1 2.22045E-16
0.353553 0.75
0.8 0.5
8 2

And trendline on the last dataset gives the same slope and r², but intercept
zero

Please remind me: If I have a formula such as one of yours, how do I copy
and paste and make the array formula. Right now I must select all the cells
and then type it. I know there is a way but I have forgotten.
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Jerry W. Lewis" wrote in message
...
Help for LINEST states that

The array known_x's can include one or more sets of variables. If only one
variable is used, known_y's and known_x's can be ranges of any shape, as
long
as they have equal dimensions. If more than one variable is used,
known_y's
must be a vector (that is, a range with a height of one row or a width of
one
column).

In particular,
=LINEST({1,1.5;2.5,3},{1,2;2,3},,TRUE)
should be equivalent to either
=LINEST({1;1.5;2.5;3},{1;2;2;3},,TRUE)
or
=LINEST({1,1.5,2.5,3},{1,2,2,3},,TRUE)

Prior to 2003, they were equivalent (as documented), but in Excel 2003,
not
even the degrees of freedom for =LINEST({1,1.5;2.5,3},{1,2;2,3},,TRUE)
match
the documented behavior.

What happens in 2007?

Jerry



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Another LINEST bug

how do I copy and paste and make the array formula.

If I understand, select the range of cells and paste the formula into the
formula bar then array enter.

--
Biff
Microsoft Excel MVP


"Bernard Liengme" wrote in message
...
Jerry,
In XL2007 with all three I get
1 2.22045E-16
0.353553 0.75
0.8 0.5
8 2

And trendline on the last dataset gives the same slope and r², but
intercept zero

Please remind me: If I have a formula such as one of yours, how do I copy
and paste and make the array formula. Right now I must select all the
cells and then type it. I know there is a way but I have forgotten.
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Jerry W. Lewis" wrote in message
...
Help for LINEST states that

The array known_x's can include one or more sets of variables. If only
one
variable is used, known_y's and known_x's can be ranges of any shape, as
long
as they have equal dimensions. If more than one variable is used,
known_y's
must be a vector (that is, a range with a height of one row or a width of
one
column).

In particular,
=LINEST({1,1.5;2.5,3},{1,2;2,3},,TRUE)
should be equivalent to either
=LINEST({1;1.5;2.5;3},{1;2;2;3},,TRUE)
or
=LINEST({1,1.5,2.5,3},{1,2,2,3},,TRUE)

Prior to 2003, they were equivalent (as documented), but in Excel 2003,
not
even the degrees of freedom for =LINEST({1,1.5;2.5,3},{1,2;2,3},,TRUE)
match
the documented behavior.

What happens in 2007?

Jerry





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Another LINEST bug

Many thanks, Biff!
It odd but I generally 'compose' in the Formula Bar but paste into cells,
so I missed the trick.
Have a great weekend.
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"T. Valko" wrote in message
...
how do I copy and paste and make the array formula.


If I understand, select the range of cells and paste the formula into the
formula bar then array enter.

--
Biff
Microsoft Excel MVP


"Bernard Liengme" wrote in message
...
Jerry,
In XL2007 with all three I get
1 2.22045E-16
0.353553 0.75
0.8 0.5
8 2

And trendline on the last dataset gives the same slope and r², but
intercept zero

Please remind me: If I have a formula such as one of yours, how do I copy
and paste and make the array formula. Right now I must select all the
cells and then type it. I know there is a way but I have forgotten.
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Jerry W. Lewis" wrote in message
...
Help for LINEST states that

The array known_x's can include one or more sets of variables. If only
one
variable is used, known_y's and known_x's can be ranges of any shape, as
long
as they have equal dimensions. If more than one variable is used,
known_y's
must be a vector (that is, a range with a height of one row or a width
of one
column).

In particular,
=LINEST({1,1.5;2.5,3},{1,2;2,3},,TRUE)
should be equivalent to either
=LINEST({1;1.5;2.5;3},{1;2;2;3},,TRUE)
or
=LINEST({1,1.5,2.5,3},{1,2,2,3},,TRUE)

Prior to 2003, they were equivalent (as documented), but in Excel 2003,
not
even the degrees of freedom for =LINEST({1,1.5;2.5,3},{1,2;2,3},,TRUE)
match
the documented behavior.

What happens in 2007?

Jerry







  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 837
Default Another LINEST bug

Thanks for the info. Apparently MS's post SP2 patch to LINEST did not fix
all of the issues that they knew it had.

Jerry

"Bernard Liengme" wrote:

Jerry,
In XL2007 with all three I get
1 2.22045E-16
0.353553 0.75
0.8 0.5
8 2

And trendline on the last dataset gives the same slope and r², but intercept
zero

Please remind me: If I have a formula such as one of yours, how do I copy
and paste and make the array formula. Right now I must select all the cells
and then type it. I know there is a way but I have forgotten.
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Jerry W. Lewis" wrote in message
...
Help for LINEST states that

The array known_x's can include one or more sets of variables. If only one
variable is used, known_y's and known_x's can be ranges of any shape, as
long
as they have equal dimensions. If more than one variable is used,
known_y's
must be a vector (that is, a range with a height of one row or a width of
one
column).

In particular,
=LINEST({1,1.5;2.5,3},{1,2;2,3},,TRUE)
should be equivalent to either
=LINEST({1;1.5;2.5;3},{1;2;2;3},,TRUE)
or
=LINEST({1,1.5,2.5,3},{1,2,2,3},,TRUE)

Prior to 2003, they were equivalent (as documented), but in Excel 2003,
not
even the degrees of freedom for =LINEST({1,1.5;2.5,3},{1,2;2,3},,TRUE)
match
the documented behavior.

What happens in 2007?

Jerry

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linest baron2ci Excel Worksheet Functions 0 April 8th 08 12:46 AM
LINEST bug Mark Schreiber Excel Worksheet Functions 2 April 27th 07 07:26 PM
LINEST() Bove Farm Excel Worksheet Functions 1 May 29th 06 05:54 AM
LINEST pjk@boro Excel Discussion (Misc queries) 2 February 20th 06 09:56 AM
Linest - Why did they do that? cseeton Excel Discussion (Misc queries) 2 March 11th 05 12:45 PM


All times are GMT +1. The time now is 05:57 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"