The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 masking in a script
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

alex_eagle

Austria
36 Posts

Posted - 04/27/2002 :  04:15:49 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I want to perform linear regression on parts of worksheet data. Therefore I mask the data with the worksheet -sw and the mark -w1 command. The date turns red, but the following LR %H_b command performs the regression on the entire data. How can this problem be solved ? Thanx !

Laurie

USA
404 Posts

Posted - 05/01/2002 :  6:15:34 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Instead of masking the data, you can simply specify a range when using the lr command.

For example, to perform a linear regression on data from rows 3 to 10 you would use the following:

lr %H_B -b 3 -e 10;

Laurie

OriginLab Technical Support
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000