Le vendredi 20 mai 2016 à 14:24 -0700, Kevin Liu a écrit :
> Pkg.update() updated all packages, did the job, thanks. So suppose I
> have a dataset called train. R2(train), rˆ2(train), r2(train) didn't
> work. 
The R² only makes sense for a fitted model. See GLM.jl docs about how
to fit it, and call the function on the resulting object.

> I meant predictive accuracy. Does it apply to GLM? 
Sure, but there are many possible indicators of this, so you'll have to
be more specific.


Regards

> > Le vendredi 20 mai 2016 à 08:59 -0700, Kevin Liu a écrit : 
> > > I think accuracy doesn't make sense for a linear model whose
> > purpose 
> > > isn't to predict. Do you agree?  
> > Sorry, I don't know what you mean by "accuracy". Anyway, only
> > users 
> > know the purpose of their models. All we can do is provide the
> > support 
> > for indicators and let them choose the appropriate ones. 
> > 
> > 
> > Regards 
> > 
> > > > Pkg.update("GLM") 
> > > > ERROR: MethodError: `update` has no method matching 
> > > > update(::ASCIIString) 
> > > > 
> > > > 
> > > > 
> > > > > Le jeudi 19 mai 2016 à 19:08 -0700, Kevin Liu a écrit :  
> > > > > > Thanks. I might need some help if I encounter problems on
> > this 
> > > > > pseudo  
> > > > > > version.   
> > > > > I've just tagged a new 0.5.2 release, so this shouldn't be 
> > > > > necessary  
> > > > > now (just run Pkg.update()).  
> > > > > 
> > > > > 
> > > > > Regards  
> > > > > 
> > > > > > > Le jeudi 19 mai 2016 à 09:30 -0700, Kevin Liu a
> > écrit :   
> > > > > > > > It seems the pkg owners are still deciding   
> > > > > > > >   
> > > > > > > > Funcs to evaluate fit                                  
> >     
> > > > >             
> > > > > > > >        https://github.com/JuliaStats/GLM.jl/issues/74  
> >  
> > > > > > > > Add fit statistics functions and document existing ones
> >  ht 
> > > > > tps://gith   
> > > > > > > > ub.com/JuliaStats/StatsBase.jl/pull/146   
> > > > > > > > Implement fit statistics functions                    
> >     
> > > > >             
> > > > > > > >   https://github.com/JuliaStats/GLM.jl/pull/115   
> > > > > > > These PRs have been merged, so we just need to tag a new 
> > > > > release. Until   
> > > > > > > then, you can use Pkg.checkout() to use the development 
> > > > > version   
> > > > > > > (function is called R² or R2).   
> > > > > > >  
> > > > > > >  
> > > > > > > Regards   
> > > > > > >  
> > > > > > > >   
> > > > > > > > > I looked in GLM.jl but couldn't find a function for 
> > > > > calculating the   
> > > > > > > > > R2 or the accuracy of the R2 estimate.   
> > > > > > > > >   
> > > > > > > > > My understanding is that both should appear with the 
> > > > > glm()   
> > > > > > > > > function. Help would be appreciated.    
> > > > > > > > >   
> > > > > > > > > Kevin   
> > > > > > > > >   

Reply via email to