« first day (281 days earlier)      last day (2894 days later) » 

10:55 AM
Naaah, no worries, mate, I don't have an addictive personality.
 
 
2 hours later…
12:49 PM
When the last message was posted, I was playing hockey...
 
1:07 PM
But technically, you should have been in your jammies?
 
Nah, I've been waking up super-early (4AM-ish)
 
1:20 PM
100% accept rate...I think I need to ask harder questions.
 
 
2 hours later…
2:53 PM
Anybody got any ideas about the best place to ask about extreme wind speed calculations? Trying to calculate "fifty-year extreme wind" : wasp.dk/Products/Wat/WAtHelp/IECrules.htm
 
 
2 hours later…
5:21 PM
crickets
 
5:41 PM
<crickets in two-part fugue>
Hey, @chase, are you familiar with the mlogit package?
It seems perfect for my needs to do discrete choice analysis. Now I need to build a market share simulator with the results, and am hoping to find a how-to document somewhere...
 
 
1 hour later…
6:43 PM
hi can any body help me on, stackoverflow.com/questions/6826652/… im not sure if i should post here :|
 
mbq
@Nikhil This is a python problem. Learn R and drop this obsolete toy language ;-)
 
@mbq I wanted to do it wid R, but im told to do it in python.
 
mbq
Sure. Seriously, I think the problem lies in importing non-CSV file as a CSV.
 
thnks, i will dig into it
 
mbq
In R, I did:
library(survival)
read.table('Rossi.txt',header=TRUE)->ss
coxph(Surv(week, arrest) ~ fin + age + race + wexp + mar + paro + prio,data=ss)
... and it just worked:
 
6:55 PM
Anyone have any strong opinions against my editing an answer just to add an image of the plot that the answerer's code produced? I've been on a learn ggplot2 kick and this situation has come up a few times in the last few days.... From meta discussions it seems like it'd be a reasonable thing to do, but wanted to see what the R tag norms were.
 
mbq
Call:
coxph(formula = Surv(week, arrest) ~ fin + age + race + wexp +
    mar + paro + prio, data = ss)


        coef exp(coef) se(coef)      z      p
fin  -0.3794     0.684   0.1914 -1.983 0.0470
age  -0.0574     0.944   0.0220 -2.611 0.0090
race  0.3139     1.369   0.3080  1.019 0.3100
wexp -0.1498     0.861   0.2122 -0.706 0.4800
mar  -0.4337     0.648   0.3819 -1.136 0.2600
paro -0.0849     0.919   0.1958 -0.434 0.6600
prio  0.0915     1.096   0.0286  3.194 0.0014

Likelihood ratio test=33.3  on 7 df, p=2.36e-05  n= 432, number of events= 114
 
yes mbq, it works in R, only python part is troubling.
can u tell me, what is meant by error, No (non-missing) observations??
 
@Andrie - I am not that familiar with the mlogit package, I briefly reviewed it at one point but kept running into performance issues. I use Biogeme for most of my discrete choice model estimation: biogeme.epfl.ch
 
AAAARGH. I just started writing a post for this post (stackoverflow.com/questions/6796490/…) and @Andrie beat me to it with Eclipse. :)
 
As for market share simulators, I have built a variety of simulators ranging from extremely naive and simple excel based calculators, to sample enumerations, to more complicated simulation exercises built off the utility functions derived from the discrete choice models.
 
7:09 PM
@RomanLuštrik Sorry about that :-)
 
Don't be. :)
Dirk's list is pretty impressive, but I think most of those things hold true for Eclipse+StatET, too.
 
I don't know of any publicly available how to guides for those simulations, everything I've learned has all been "on the job" training
 
@Chase Very interesting. Yes, mlogit isn't fast, but performance isn't an issue for me at the moment. Thanks for the link to biogeme
 
What I really appreciate about Eclipse is intuitive project managing, fast switching between other IDE (e.g. Java/C/C++), sending code to R in 1001 way. You mentioned other things.
 
@Chase I have built a simulator for traditional conjoint analysis. Now I am trying to get my head around calculating the utility value for discrete choice.
 
7:12 PM
Biogeme is certainly faster than R, but also suffers from performance issues for individual level models...though if you have access to a linux box - it runs ~30 - 50% faster there
@Andrie - I'm not sure I'm following you
 
@Chase I'm not sure I'm following myself! I have managed confuse myself thoroughly in the last few hours. Time for a break, I think.
OK, that's simple enough. Yes, of course, thank you.
 
@Andrie - Assume a simple discrete choice model with two alternatives. U1 = B1 * X1,1 + B2 * X2,1 + E and U2 = B1 * X1,2 + B2 * X2,2. The utilities for each alternative is the sum product of the betas and the X values. To calculate the probability shares, exponentiate the utility values and then divide by the sum of the exponentiated utility values
 
Thanks, got it. That's the link...
@Chase How can I contact you outside this forum?
There is no personal information on your profile page.
 
@Andrie - i'd be happy to chat further offline if that's easier. Feel free to shoot me an email at ccarpenter "at" rsginc.com.
 
Great, thank you. Will do.
 
7:23 PM
@Andrie - The more mathematical way to describe what I just babbled is probably something like p(i) = e^Ui / sum(e^Uj) where i is the "ith" alternative and "Ui" is the utility for that mode, and "j" represents all modes
@Andrie - this is actually a good segue, there are a few other things I wanted to run by you after looking at your website
 
Yes, indeed. I have been re-reading Kenneth Train's "Discrete choice modelling with simulation". It's a great book, but very theoretical. Now I'm trying to put it into practise.
 
@Andrie - yes, lots of Greek symbols in that book...I think the Ben Akiva and S.R. Lerman book "Discrete Choice Analysis" is actually a bit easier to parse...still pretty heavy on the theory though
 
I don't mind theory. And Train is pretty good at making the theory quite intuitive.
 
@Andrie - got to run now, but let's find a time to chat that's convenient for both of us
later
 
Unfortunately I can't get taRifx for 2.13.1
Ah, windows binary not available. Peachy.
@gsk3 was kind enough to include my splitc function in his package.
 
8:13 PM
@RomanLuštrik Kindness had nothing to do with it. I wanted to release a package that was less than 100% crappy code, so I lured you into letting me borrow some good code :-)
Got an e-mail earlier that the windows package is being built and should be available within 24h
 
I hope they are not doing this manually... :)
In any case, I like your business model.
 
Thanks to biz model patents in the US, you can pay for the privilege of liking the way I do business :-)
I suspect they have some small house gnomes somewhere who wrap up packages when they are submitted.
Possibly some Gnus strapped to a treadmill.
 
9:04 PM
Does anyone happen to have any .gpx files handy? I need some example data to work with. I'm writing a native R function that will import .gpx files into R (so far, solutions rely on gpsbabel.exe and GDAL/rgdal). The latter doesn't work in my case for some reason and I've decided to write a function using XML package tools.
 
9:15 PM
Nope, sorry
One point away from my first 200 point day. If the next four hours go by unchanged I'm going to wish I hadn't down-voted that one post :-)
wait, I might
GPS files, right?
 
There you go, you've reached the cap. ;)
 
Nope, all my GPS data turns out to be processed already into .txt files. Sorry :-(
Haven't worked with GPS traces in a few years.
Thanks Roman. Although I wasn't here to beg, I promise ;-)
 
Sure, the Clinton defense.
"I smoked but didn't inhale."
Look, we're not here to judge, as JD would say. :)
 
No the arrogance defense: "Four hours, my good answers, I don't need pity points." :-)
 
Well, your answers are spot on and fit for up-votes.
 
Thanks.
The GPX Standard mentions a lot of tags but most GPX files I've seen usually just have waypoints and tracks.
 
happy to help
Would appreciate feedback on the spatial functions in taRifx if you ever get a chance to use them. Haven't used them for awhile so there's likely much I could improve style-wise, but even just functionality would be helpful.
Yeah I don't know what random .GPX files on FTP servers will use, but if you could whip up something to scan through them for other tags, that would be the way to go.
 
Will do.
I already checked the function reference list. I especially like the functions for LaTeX tables.
 
One of those is mine and one of those is a friend's contribution.
I produced some epic multi-row multi-page LaTeX tables with those back in the day :-)
Most of that code is like 4 years old. Need to do a better job of releasing code in the future so I document it while I still remember what it does.
alright, I'm off for a bit
good luck GPX'ing
 
9:37 PM
I might retire to my royal chambers soon, so take care!
 

« first day (281 days earlier)      last day (2894 days later) »