[R] Package PLM

2013-07-03 Thread Eliano Marques
Hi Giovanni and Yves, My is Eliano Marques, i'm a master degree econometrician from ISEG in Portugal. I was trying to use your R package with a specific output i cannot get the same results that i'm getting in Stata. Could you please let me know if the below is correct or if i'm missing

Re: [R] Help with a function and text

2013-03-07 Thread Eliano
Thanks for that. Eliano 2013/3/7 David Winsemius [via R] ml-node+s789695n4660565...@n4.nabble.com On Mar 6, 2013, at 3:44 PM, Eliano wrote: Thanks. Btw are you able to help with my issue? Thanks, Eliano I'm sorry, I was too busy answering the question from 'Eliano' over

Re: [R] Help with a function and text

2013-03-06 Thread Eliano Marques
Hi, can I understand why this message was rejected ? Thanks, Eliano Sent from my iPhone On 6 Mar 2013, at 19:18, Eliano eliano.m.marq...@gmail.com wrote: Hi everyone, I am writing some code to generate a function. I am passing that code to a dataset which i'm importing in R, e.g. Test

Re: [R] Help with a function and text

2013-03-06 Thread Eliano
Thanks. Btw are you able to help with my issue? Thanks, Eliano Sent from my iPhone On 6 Mar 2013, at 23:41, David Winsemius [via R] ml-node+s789695n4660547...@n4.nabble.com wrote: On Mar 6, 2013, at 11:25 AM, Eliano Marques wrote: Hi, can I understand why this message was rejected ? Thanks

Re: [R] Sampling with Constraints for testing and training data

2012-01-25 Thread Eliano
to constraint the test data frame so the 20% of the size of test has 50% of DB$target. Imagine: n=100 DB$target = { 0=80 1=20} test=20 and contain 10 random values of DB$target=1 and 10 random values of DB$target=0. Many Thanks, Eliano -- View this message

[R] Sampling with Constraints for testing and training data

2012-01-24 Thread Eliano
to constraint the test data frame so the 20% of the size of test has 50% of DB$target. Imagine: n=100 DB$target = { 0=80 1=20} test=20 and contain 10 random values of DB$target=1 and 10 random values of DB$target=0. Many Thanks, Eliano -- View this message in context

[R] Solving Equations

2012-01-22 Thread Eliano
) = 0,5 Var(teta)=ab/((a+b)^2(a+b+1))=0.05 So if i want to solve this to non-linear system to find a,b for the beta distribution wich pack should i use? I know that a=2 and b=2 because i calculated it. Can someone help? Thanks, Eliano -- View this message in context: http://r.789695.n4

Re: [R] Solving Equations

2012-01-22 Thread Eliano
Many Thanks Berend. 2012/1/22 Berend Hasselman [via R] ml-node+s789695n4318895...@n4.nabble.com On 22-01-2012, at 19:25, Eliano wrote: People, I'm researching some Bayesian statistic topics and in the midle of my study i found a very simple problem and i'm trying to find a simple

Re: [R] Solving Equations

2012-01-22 Thread Eliano
Many Thanks David. 2012/1/22 David Winsemius [via R] ml-node+s789695n4318880...@n4.nabble.com On Jan 22, 2012, at 1:25 PM, Eliano wrote: People, I'm researching some Bayesian statistic topics and in the midle of my study i found a very simple problem and i'm trying to find a simple

[R] Maximization

2011-10-25 Thread Eliano
hi people, I'm trying to maximize this function: fn= function (x) {x[1]^2+5*x[2]^2} with this restriction fn1 = function (x) {x[1]+x[2] =5} Can someone help me how to procedure this? I tried in the alabama and genoud package but i have problems with the setting of constrains. Regards, Eliano

Re: [R] constrain min and max of output

2011-10-25 Thread Eliano
Hi There, I have a similar problem. I have a function that i want to maximize. lets say: (x-2)^2+(y-4)^2 and i want to constraint that maximization to x+y=5 I can program that constraints in R. Do you have any suggestion? Regards -- View this message in context:

[R] Maximization Problem

2011-10-25 Thread Eliano Marques
Hi there, I need help in an optimization procedement. I'm trying to maximize the function fn=x^2+5y^2 with the restriction of fn1=x-y=5. I tried the genoud method and as well the alabama method. I have problems to set the constraint in R. Can someone help me please? Regards, Eliano