f1kidd / fmlogit Goto Github PK
View Code? Open in Web Editor NEWFractional Multinomial Logit using R
Fractional Multinomial Logit using R
Trying to run even the help-file example, I get the following error:
Error in parse(text = x, keep.source = FALSE) :
:2:0: unexpected end of input
1: ~
^
@f1kidd thanks for writing an R version of fmlogit. Would you mind adding a LICENSE file? I was hoping to write a PR to allow for weights, but it's hard to know what I can do without something like an MIT license.
Here is some discussion on licensing from the R Packages book.
Hi there, I was looking for an R package that can deal with fractional multinomial logistic regression and found this package. It seems just like what I need! I was wondering whether there are some examples to show how to use this package? Many thanks!
Can't get marginal effects because of an error:
Error in ans[!test & ok] <- rep(no, length.out = length(ans))[!test & :
replacement has length zero
In addition: Warning message:
In rep(no, length.out = length(ans)) :
'x' is NULL so the result will be NULL
The error is related to line 174 in marginals.R
outlist$R = ifelse(se==T,R,NULL)
A simple fix is to change NULL
to NA
outlist$R = ifelse(se==T,R,NA)
See new pull request for fix.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.