COMPGROUPS.NET | Search | Post Question | Groups | Stream | About | Register

Re: PROC NLP and R^2

• Email
• Follow

```Hi,

This is a follow-up question regarding non-linear modeling from my post last
month. Although I have received some useful input at that time, I am still
not able to replicate the results that I am getting with the Excel Solver.

I may have left out some details in my original post (below) which may be
pertinent to the question at hand. The original equation is of the form:

log(column1 + A) = C * column2 + B

Here are the constraints on the paramaters:

A >= -(min(column1))
B = max(log(column1 + A)) - max(column2) * B
C is the slope of the predicted log(column1 + A) values and the original
column2 values.

I would like to know how I could set the initial parameters and bounds on
parameters B and C, which are dependent on other parameter(s) and variables
while using PROC NLIN/PROC NLMIXED/PROC OPTMODEL?

Sid

On Thu, Nov 12, 2009 at 5:03 PM, Sid N <nsid31@gmail.com> wrote:

> Hi,
>
> I would like to find the maximum R^2 that can be attained between
> log(column1 + a) and (c * column2 + b) for the below dataset by changing
> the
> values for a, b and c. Previously, I have used the 'Solver' add-in in
> Excel.
>
> data have;
> input column1 column2;
> datalines;
> 30000 6000000
> 50000 10000000
> 65000 13000000
> 70000 13500000
> 76000 13525000
> 113000 13925000
> 115500 15925000
> 119500 16925000
> 121500 17425000
> 122500 17725000
> ;
> run;
>
> Based on what I have read from the SAS-L posts, I understand that PROC NLP
> can help me do the same in SAS. Can someone please assist me with using
> this
> procedure? Thank you for your time.
>
> Sid
>
```
 0

See related articles to this posting

0 Replies
451 Views

Similar Articles

12/8/2013 10:18:08 AM
[PageSpeed]

Similar Artilces:

replication #2 #2
Using Access 97..tried to replicate a database but got a message that flie MSRCLR35.dll was missing... Searched windows98se disk ..office97 pro disc and could not find Dll. Searched microsoft \.com no help..have MSRCLR40.dll in windows\system .but access does not reconize it .. is this a updated Dll? If not does anyone know where I might get MSRCLR35.Dll???? Thank for assistance in this matter Bob P "Rdp4827" <rdp4827@aol.com> wrote... > Using Access 97.. Ok, that means Jet 3.5. > tried

Ping #2 #2
Is this group still alive? Rui Maciel On 11/02/12 22:20, Rui Maciel wrote: > Is this group still alive? > > > Rui Maciel Doesn't seems like it is :( On 2/23/2012 3:01 AM, Vladimir Jovic wrote: > On 11/02/12 22:20, Rui Maciel wrote: >> Is this group still alive? >> >> >> Rui Maciel > > Doesn't seems like it is :( Usenet is gradually dying it seems... BGB wrote: > Usenet is gradually dying it seems... It looks that way. Rui Maciel On 3/12/2012 12:25 PM, Rui Maciel wrote: > BGB wrote: > >> Usenet is gradually dying i

Memory Leak #2 #2
Hello all I am trying to debug Java program with memory leak Can anyone suggest open source tool, some kind of heap analyzer, may be to be able to see how much memory consuming each instance Thanks in advance evgchech wrote: > I am trying to debug Java program with memory leak > Can anyone suggest open source tool, some kind of heap analyzer, > may be to be able to see how much memory consuming each instance jmap -histo from the JDK. Tom Hawtin

sqrt(a^2)
The lines below produce different results: syms a subs(sqrt(a^2),'a',-3) subs(simple(sqrt(a^2)),'a',-3) Why ? the first command: subs(sqrt(a^2),'a',-3) takes the expressions sqrt(a^2) and substitutes a = -3 so you get sqrt((-3)^2) which 3 the second one simplifies it first so you get simple(sqrt(a^2)) gives the simplification answer "a" Then substitute this expressions for a = -3 and you get -3. Laurens Schalekamp The Mathworks, Inc. "Fausto Ramos" <fausto_ramos@yahoo.com> wrote in message news:eeda90e.-1@webx.raydaftYaTP... > The lines below produce different results: > > syms a > subs(sqrt(a^2),'a',-3) > subs(simple(sqrt(a^2)),'a',-3) > > Why ? A simplification implies that the original expression gives the same results of the simplified one, which is not the case here. Why ? Laurens Schalekamp wrote: > > > the first command: > > subs(sqrt(a^2),'a',-3) > > takes the expressions sqrt(a^2) and substitutes a = -3 > so you get sqrt((-3)^2) which 3 > > the second one simplifies it first so you get > > simple(sqrt(a^2)) gives

Triggers #2
I have an application that does a select on a sql join on a table (A) and a table (B) that is populated by triggers on table (A). I do a copy of the updated information from the affected rows that generated the trigger into a target database table (C) in a different database. This is all working quite well. What I need to do is design a test plan. To start the testing I want to have the target table be empty. However, that will mean that I would have to update all the records in the source table (A), to generate entries in the trigger events table (B) so that the join would pick up

hi there #2
Work Environment: The successful candidate will find a unique results-focused culture at IQity Solutions. One with passionate people dedicated to helping our clients and each other achieve continuous improvement. You will gain exposure to a diverse set of experiences and be empowered to take on as much as you can handle. This is a great opportunity to join a rapidly growing company and to become part of a culture of intelligence, integrity, trust, ambition and high energy. Visit www.iqitysolutions.com for more information about our company. IQity Solutions is an equal opportunity employer and

anyone #2
Anyone know a person called Ombretta? On Thu, 19 Feb 2004 17:45:58 +0000, MM wrote: > Anyone know a person called Ombretta? I know a scooter called Lambretta. B. -- "I generally avoid temptation unless I can't resist it." -Mae West

Superscript #2
Hi, I want to add a superscript. In my summary table output I want to show the text as 1*10**4. Instead of ** I want superscript. It is not for title or footnotes. It is for format labels. Thanks, sas ques.

SORRY #2
After a visit to my doctor, I have to say sorry to you all in this newsgroup. My doctor told me that I am totaly insane. My brain is like a person of 3 years of age. Still, I have this sick need to write this sick postings to newsgroups, and harress other people, to make my life look like worth living, even though I feel like shit. Starwars -- Questo messaggio e' stato inoltrato automaticamente da un paio di anonymous remailer. Il mittente originale e' sconosciuto e non identificabile. Datevi pace. "starwars" <Anonymous-Remailer@See.Comment.Header> wrote in m

Internet #2
Internet You are using internet %%%%%%%%%%%%%%%%%%%% http://padmagirl.blogspot.com %%%%%%%%%%%%%%%%%%%%% <kayal20@gmail.com> wrote in message news:abdefd2a-0fe9-488d-8ef6-2d1302c7430f@d21g2000prf.googlegroups.com... > Internet > You are using internet > %%%%%%%%%%%%%%%%%%%% > http://padmagirl.blogspot.com > %%%%%%%%%%%%%%%%%%%%% You bet your ass I am using internet... the question is... can I get off it again?