If accuracy is 'the nearness of a calculation to the true value', and the 
assumption is the relation between all variables remain linear, then I 
don't see why accuracy wouldn't be useful in GLM. 

On Friday, May 20, 2016 at 6:24:06 PM UTC-3, Kevin Liu wrote:
>
> 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. 
>
> I meant predictive accuracy. Does it apply to GLM? 
>
> On Friday, May 20, 2016 at 1:26:47 PM UTC-3, Milan Bouchet-Valat wrote:
>>
>> 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