question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>I have a model for multiple moderated regression with <code>payment</code> (continuous) as the DV, one continuous predictor (neuroticism), and two binary categorical between-subject-factors: stress vs. no stress and self-payment vs. other-payment. </p> <p>Essentially, I want to know if the increase in the differenc...
g59458
[ 0.016330134123563766, 0.007568017579615116, -0.039229072630405426, -0.021027395501732826, 0.024337686598300934, -0.04285070672631264, 0.028209790587425232, 0.04393310844898224, -0.018019484356045723, -0.010369762778282166, -0.028187241405248642, 0.015751518309116364, 0.04456516355276108, 0...
<p>Say I have a data set composed of $N$ objects. Each object has a given number of measured values attached to it (three in this case):</p> <p>$x_1[a_1, b_1, c_1], x_2[a_2, b_2, c_2], ..., x_N[a_N, b_N, c_N]$</p> <p>meaning I have <em>measured</em> the properties $[a_i, b_i, c_i]$ for <strong>each</strong> $x$ objec...
g14996
[ -0.009522910229861736, -0.002842070534825325, -0.01182918157428503, -0.01983664184808731, 0.009921679273247719, 0.028946615755558014, 0.03811101242899895, -0.014953602105379105, -0.0556882806122303, -0.05944417417049408, -0.008555951528251171, -0.014424188062548637, 0.05334220826625824, 0....
<p>Suppose we have a random number generator, and we do not know anything about the generator, including the distribution of its outputs. We are allowed to use the generator some number of times to get draws and observe the sample. </p> <p>Then, from the sample(s), we want to find a number M such that we can say somet...
g49557
[ -0.004595200065523386, 0.03187592327594757, -0.017626261338591576, -0.0914243832230568, -0.047573190182447433, -0.04082280397415161, -0.03452713042497635, 0.004642939660698175, -0.03247341513633728, -0.06202772259712219, 0.011427469551563263, -0.01937662437558174, 0.055119987577199936, 0.0...
<p>I am a physicist who is a few years out of doing his last course in statistics, so I am hoping to get some advice when comparing some data I recently generated. I asked this question on the Mathematics Stack Exchange website, but received no answers, so I thought I would try here as well.</p> <p>The context is as f...
g49558
[ 0.009107809513807297, -0.057262122631073, -0.026445478200912476, -0.04532988741993904, 0.0035511162132024765, -0.010484408587217331, 0.005729445721954107, 0.009584364481270313, -0.053027231246232986, 0.030687736347317696, 0.002830242272466421, 0.020930137485265732, 0.056856922805309296, 0....
<p>Mahalanobis distance, when used for classification purposes, typically assumes a multivariate normal distribution, and the distances from the centroid should then follow a $\chi^2$ distribution (with $d$ degrees of freedom equal to the number of dimensions/features). We can calculate the probability that a new data ...
g15000
[ 0.040766581892967224, -0.04610824212431908, -0.018724476918578148, -0.04385652393102646, -0.013098185881972313, -0.02742506004869938, 0.01805967651307583, 0.007123066112399101, -0.0354023203253746, -0.010418773628771305, 0.03459100052714348, 0.011392313987016678, 0.0405396930873394, -0.019...
<p>Would you please explain me the difference between <em>Probability distribution and Sampling distribution</em> easily ?</p> <p>Is that the difference : in probability distribution we have probability for every individual whereas in sampling distribution we get probability for statistic ?</p> <p>Does sampling distr...
g49539
[ 0.036025531589984894, 0.024948978796601295, 0.011977792717516422, 0.06596825271844864, -0.032997969537973404, 0.05215613543987274, -0.000012894071005575825, 0.06036609783768654, -0.01780158281326294, -0.05394132807850838, 0.01947982981801033, -0.010349023155868053, 0.025625891983509064, -0...
<p>I'd like to evaluate a multilabel classification algorithms and I was thinking of using both Accuracy and F1-Measure with:</p> <pre><code>Accuracy = #Intersection(suggestions,correct_labels) / #Union(suggestions,correct_labels) F1 Measure = 2 * (P * R) / (P + R) </code></pre> <p>The above is for a single example a...
g59459
[ -0.035045962780714035, -0.05044300854206085, 0.004893597215414047, -0.03345903381705284, -0.0033614367712289095, -0.03478121757507324, 0.007501224987208843, 0.05085059255361557, -0.020243018865585327, 0.00312025030143559, 0.03679727017879486, 0.012974911369383335, 0.04872222617268562, 0.00...
<p>Boosting takes a bunch of weak learners and creates a strong learner. But why is it so difficult to create a strong learner right from the beginning without using boosting techniques? And therefore remove the need for boosting.</p>
g59460
[ -0.024361303076148033, 0.051489606499671936, 0.004568025469779968, -0.0016373179387301207, 0.0015361098339781165, 0.06061956286430359, -0.009268457069993019, 0.029163209721446037, 0.013359060510993004, -0.019238298758864403, -0.006771217565983534, -0.013640963472425938, -0.000129603693494573...
<p>Is there a book that explains why there aren't better standard techniques than Tukey and ANOVA, for example?</p> <p>For comparison consider for example I read about the null hypothesis one-sample $t$ test and didn't even bother considering that there could be better tests. But that is probably just a biased belief ...
g59461
[ -0.010572947561740875, 0.01729176566004753, 0.016359403729438782, 0.013094672933220863, -0.015855761244893074, -0.03488130867481232, -0.005744229536503553, 0.03249121829867363, -0.029818056151270866, 0.03371725603938103, 0.06096304953098297, -0.021962609142065048, 0.080691397190094, 0.0340...
<p>For sake of a simple example assume that there are two linear regression models</p> <ul> <li>Model 1 has three predictors, <code>x1a</code>, <code>x2b</code>, and <code>x2c</code></li> <li>Model 2 has three predictors from model 1 and two additional predictors <code>x2a</code> and <code>x2b</code></li> </ul> <p>Th...
g15003
[ 0.007509633898735046, -0.02802271768450737, 0.003917837981134653, 0.007709789555519819, 0.006591851357370615, 0.016696123406291008, 0.018373223021626472, 0.011422421783208847, -0.04483788460493088, 0.007963926531374454, 0.0061949472874403, 0.039612237364053726, 0.06198962777853012, 0.01514...
<p>I'm working on determining the Frechet mean of several curves. I am using this equation:</p> <p>$$ \sum_{n=1} (P_a - P_b)^2 $$</p> <p>but I'm not entirely sure how I would do this across multiple curves. Also, the answer should be, unless I am completely mistaken, should be a curve but I am getting a single number...
g15004
[ 0.006911145057529211, -0.012231079861521721, -0.009918916039168835, 0.009049947373569012, 0.03787099942564964, -0.06589031964540482, 0.01167360320687294, -0.025155767798423767, -0.04441322758793831, 0.00004255122985341586, -0.059410128742456436, -0.010089272633194923, 0.04598511755466461, ...
<p>I have a sample with millions of points. Every point $x$ has two values associated, let's say $A_{x}$ and $B_{x}$. I calculated the mean values of A and B in the sample:</p> <p>$\overline{m}_{A} = 0.19 \quad \text{and} \quad \overline{m}_{B} = 0.21$</p> <p>The distributions of the values are different and not norm...
g59462
[ 0.02004077099263668, -0.00014024789561517537, -0.018218526616692543, -0.005337096750736237, 0.028007112443447113, -0.02550642006099224, -0.0022431020624935627, -0.013922404497861862, 0.008853411301970482, 0.0005553888040594757, -0.037673402577638626, 0.05658464878797531, -0.00200952356681227...
<p>I have a system where arrival rate is assumed to be Poisson but there is a condition on accepting this arrival which is if $Z$ (uniform dist. random variable) $\le$ some value $X$ and $X$ can vary between the values $[0.5, 0.25, 0.125]$. Actually X takes value of 0.5 first and if Z>X for two times --> X became 0.25...
g59463
[ -0.01702854223549366, 0.02223045751452446, -0.017701024189591408, -0.05642199516296387, 0.0014571838546544313, -0.027804993093013763, -0.00604206370189786, -0.005623020231723785, -0.0589229092001915, -0.019825952127575874, -0.04291461780667305, 0.006743073463439941, 0.008439474739134312, 0...
<p>I'm interested in determining whether two or more groups of data share the same mean, and it seems like the ANOVA framework is a good way to approach this. However, ANOVA assumes residuals are normally distributed, while each of my data is a number between 0 and 100 (a percentage). Because normal distributions have ...
g59464
[ 0.029787637293338776, -0.027990000322461128, 0.006828397512435913, 0.014362199231982231, -0.04760219156742096, -0.030404355376958847, -0.01137596182525158, 0.019552506506443024, 0.018593911081552505, -0.014312144368886948, 0.016086827963590622, -0.011548557318747044, -0.013742548413574696, ...
<p>I kinda have some trouble trying to start with this question.</p> <p><img src="http://i.imgur.com/JKeSBhN.png" alt="a busy cat"></p> <p>I know how to derive a Neyman-Pearson Test and its critical region. My main concern is deriving the Likelihood function of the sample given its null hypothesis and its alternativ...
g59465
[ 0.032407261431217194, -0.0031460418831557035, 0.011631540954113007, -0.07327940315008163, -0.007147494703531265, -0.02092777192592621, -0.0027755717746913433, 0.038598425686359406, 0.0073332046158611774, -0.004975108429789543, 0.01640895940363407, 0.019920529797673225, 0.057037319988012314, ...
<p>I have two function. First function have a positive value for AIC and the second function have a negative value fir AIC. How to make comparisons? algebraic or absolute values?? Thanks :)</p>
g59466
[ 0.042765576392412186, -0.05228952690958977, -0.00567915104329586, -0.02683662250638008, 0.0471121184527874, -0.009654814377427101, -0.011379166506230831, -0.025312058627605438, -0.08740253746509552, 0.004084727726876736, 0.015622399747371674, 0.05310641601681709, 0.08576526492834091, 0.012...
<p>Should the weights of a neural network without hidden layer and a logistic activation function be the same as the parameters of a logistic regression? Mine are not the same?</p> <pre><code>nnallnohidden=nnet( PartialPrepayzo~FIXPER+MEDSAL2+DREL+LEEFTIJD+HH2CRED+LTV_curr+ rate1Y+rate5Y+CIremFIRP+URB+WELSTAN2...
g59467
[ 0.028059350326657295, -0.022759275510907173, -0.0018584760837256908, -0.0056487745605409145, 0.05585829168558121, -0.07948584854602814, 0.08471859246492386, 0.001913012471050024, -0.07244696468114853, -0.02424219250679016, -0.06611239910125732, 0.04154748097062111, 0.030802976340055466, -0...
<p>For my master's thesis I am examining a mediated relationship. I need to write out the equation model, but do not know exactly how to do this. In my case I have four independent variables, one mediated variable and one dependent variable. How do I add the mediated variable to the equation? Until now I got this:</p> ...
g59468
[ -0.033599600195884705, -0.019925139844417572, -0.0320785827934742, -0.013440825045108795, 0.05673633888363838, -0.0014400078216567636, 0.007369484286755323, 0.022326931357383728, -0.0111337099224329, -0.008937825448811054, -0.06382209062576294, 0.027300449088215828, 0.0032221716828644276, ...
<p>I'm trying to understand how to compute the optimal cut-point for a ROC curve (the value at which the sensitivity and specificity are maximized). I'm using the dataset <code>aSAH</code> from the package <code>pROC</code>.</p> <p>The <code>outcome</code> variable could be explained by two independent variables: <cod...
g59469
[ 0.006907359696924686, -0.06638092547655106, -0.0034772695507854223, -0.014114058576524258, 0.06933518499135971, -0.04420235753059387, -0.006976723205298185, 0.026199592277407646, -0.007197409402579069, 0.019692031666636467, -0.023275619372725487, 0.019175345078110695, 0.07175150513648987, ...
<p>Under-educated non-statistician seeks short-term relationship for very one-sided benefit.</p> <p>System in question involves rocks and physical properties. Modelling bits of the earth typically means few real measurements compared to volume of model. Many estimates are required, and I have NO IDEA how to handle the...
g59470
[ 0.00972440280020237, 0.012633503414690495, -0.03316829353570938, -0.02284417673945427, -0.008236146531999111, 0.007188693154603243, 0.029265789315104485, -0.015888601541519165, -0.024637099355459213, -0.022100141271948814, -0.01408791821449995, 0.024732308462262154, 0.062275853008031845, 0...
<p>I'm writing a CFA paper, and I have run into some trouble interpreting the AIC and BIC. This is my first paper using continuous variables, thus the first time I will be reporting these fit statistics and I'm still learning the SEM method overall so bear with me, please.</p> <p>The paper in question looks at an exis...
g49597
[ 0.04041948541998863, -0.06323135644197464, -0.00946675892919302, -0.08490238338708878, 0.04245332255959511, -0.008987770415842533, 0.0423835925757885, 0.05667254701256752, -0.038975708186626434, -0.03199354186654091, 0.004962649662047625, -0.03447283059358597, 0.01691555604338646, -0.01520...
<p>Do I understand this correctly:</p> <p>You fit a model with unknown parameters to a dataset. You choose the parameters so the likelihood of the dataset under the model is maximal. Let this be $L_{max, model1}$. You do the same with a more advanced model. Again you pick the coefficients of the model so that the like...
g59471
[ 0.03752397745847702, -0.035418130457401276, -0.00415172940120101, 0.019347455352544785, 0.041113290935754776, -0.02697240188717842, -0.01572456955909729, 0.0839589461684227, -0.018005119636654854, 0.022110413759946823, -0.026325415819883347, 0.04349982738494873, 0.05419018119573593, -0.034...
<p>It's multivariate linear regression meaning multiple dependent variables (Y). Data A has both X (explanatory variables) and Y, but data B has only Y. </p> <p>I wonder if there is any way to incorporate data A and B into the regression model.</p> <p>If I remember correctly, Statistical Analysis with Missing Data by...
g59472
[ 0.019880805164575577, -0.08872324973344803, -0.005479011684656143, -0.007698729634284973, -0.024181324988603592, -0.0037473069969564676, -0.008935987018048763, -0.014282327145338058, -0.05318453535437584, -0.007222247775644064, -0.016896184533834457, -0.012308167293667793, 0.0545711107552051...
<p>I'm using the function <code>adk.test</code> (<a href="http://en.wikipedia.org/wiki/Anderson%E2%80%93Darling_test" rel="nofollow">AD test</a>, <a href="http://cran.r-project.org/web/packages/adk/adk.pdf" rel="nofollow">adk package</a>) to estimate if a data sample follows a distribution family.</p> <p>My question i...
g59473
[ 0.01445576548576355, -0.022384552285075188, -0.020636526867747307, -0.10037343949079514, -0.0060148099437355995, -0.035337675362825394, 0.014069860801100731, 0.014450077898800373, -0.040087439119815826, -0.033019330352544785, -0.016276642680168152, 0.017940543591976166, 0.07351314276456833, ...
<p>I have a few datasets of "interactions" between pairs of elements like so:</p> <pre><code>element1 element2 1 element2 element3 1 element4 element5 1 ... element505535 element4 2 </code></pre> <p>where the value in the 3rd column is the "strength" of interaction. Almost all of these strengths are "1." A strength o...
g37657
[ 0.05576572194695473, 0.011983430944383144, -0.017802074551582336, -0.022182881832122803, -0.003109381766989827, -0.023739248514175415, 0.012101085856556892, 0.004869026597589254, -0.00996367260813713, -0.033846501260995865, -0.005754375830292702, -0.012953939847648144, -0.00539766950532794, ...
<p>Let $A=o_{a.s.}(1)$; $A:k\times k$ matrix and $Vu=O_p(1)$; $V:k\times k$; $u: k\times 1$.<br> Specifically, $Vu$ converges in distribution to $\mathcal N(0,I_k)$.</p> <p>Can we show that $VAu=o_p(1)$ or $\|VAu\|=o_p(1)$?</p> <hr> <p>If $V=O(1)$ and $V^{-1}=O(1)$ then we can show that $VAV^{-1}Vu=o_p(1)$. However,...
g59474
[ -0.02107894979417324, 0.030468592420220375, -0.00721417972818017, 0.002032501855865121, 0.041675638407468796, -0.03297700732946396, -0.008944215252995491, -0.02229931578040123, 0.021695660427212715, 0.04776378720998764, -0.028547074645757675, 0.04427264630794525, -0.01333217415958643, 0.05...
<p>In R, I use the decompose method on my time series object and it gives me seasonal + trend + random component. For seasonal component, it gives me absolute value which is good but I would also like to know the monthly seasonality index as well (like Jan .084, Feb 0.90, Mar 1.12, etc., for example). Is there a quick ...
g59475
[ -0.013830815441906452, -0.06725048273801804, 0.004712575580924749, -0.03558224067091942, -0.05754350498318672, -0.04314163327217102, 0.0492854081094265, 0.020038584247231483, 0.00458072405308485, -0.007744126953184605, 0.0016494881128892303, 0.053326237946748734, 0.07919713109731674, -0.00...
<p>I am trying to implement random walk metropolis in Python for generate from a pdf $f$, which is defined in the domain:</p> <p>$$(0, \infty) \times [3, 4] \times (0, \infty)$$</p> <p>I am using Metropolis Random Walk with a trivariated normal. Can someone just take a look and see if my algorithm is correct?</p> <p...
g59476
[ -0.021900298073887825, -0.045917630195617676, 0.020045949146151543, -0.056716740131378174, -0.028852591291069984, 0.004647826310247183, 0.040654223412275314, 0.07257410138845444, 0.0009833137737587094, 0.020222466439008713, -0.012687692418694496, 0.01815636456012726, -0.014960876666009426, ...
<p>I'm looking for a <strong>set of weak classifiers</strong> that work with <strong>Adaboost</strong> to test on <strong>popular datasets</strong>.</p> <p>Most of the examples on the web use some kind of random weak learners which work on their own randomly generated dataset.</p> <p>Could you point me to any usable ...
g59477
[ -0.015723941847682, 0.028820883482694626, 0.007717438042163849, -0.052702344954013824, -0.014897549524903297, -0.03396770358085632, -0.038731854408979416, -0.02540857531130314, 0.05076390132308006, -0.04458988457918167, -0.013986608944833279, 0.03905148804187775, 0.028433816507458687, 0.00...
<p>I want to find the sample size for logistic regression where I have a covariate with 15 levels and the covariates interacts with time, which means that the effect of the covariates is different for different periods of times. Can anyone help me find the sample size and effect size? I wish I could do this using simul...
g15023
[ 0.019315598532557487, 0.007098503410816193, 0.00636860728263855, -0.06030851602554321, -0.004533778876066208, -0.05317497253417969, -0.0022821156308054924, -0.05361282825469971, -0.05274009704589844, -0.023298365995287895, 0.045498233288526535, -0.006597836967557669, 0.021841540932655334, ...
<p>I need to analyze some data obtained from "in vivo" software testing. Unfortunately I’m a SW engineer, not a statistician. </p> <p>The dataset contains observations for a number of messages sent between 2 nodes (actually, sent and returned). </p> <p>There are two independent possible outcomes: 1. “message was flag...
g44294
[ -0.019225966185331345, 0.010231698863208294, -0.013012058101594448, 0.005100401118397713, 0.06112125143408775, -0.06884674727916718, 0.032682646065950394, -0.003222517669200897, -0.026557566598057747, 0.0227130725979805, -0.038150958716869354, -0.010617638938128948, 0.03906848654150963, 0....
<p>I wonder whether it is possible to perform within R a clustering of mixed data variables. In other words I have a data set containing both numerical and categorical variables within and I'm finding the best way to cluster them. In SPSS I would use two - step cluster. I wonder whether in R can I find a similar techni...
g470
[ 0.023454001173377037, -0.06439201533794403, 0.01573202572762966, -0.035229701548814774, -0.008364514447748661, -0.03475351631641388, -0.006124312989413738, 0.018287265673279762, -0.022187575697898865, -0.08384551852941513, 0.04134747385978699, 0.01378531102091074, 0.04945530369877815, 0.01...
<p>I started my PhD study in Econometrics last month. Currently I am studying some compulsory course works (Probability theory and Statistical Inference), and also reviewing the literature in my field. I would also like to study some more mathematics, which I believe will make me more prepared for my formal research. C...
g15024
[ 0.0703192725777626, 0.032601166516542435, 0.014598711393773556, -0.03871865198016167, -0.016340414062142372, -0.015635665506124496, 0.006289108656346798, 0.0032681275624781847, -0.007352285552769899, 0.012467694468796253, 0.020529823377728462, -0.0158538818359375, 0.08081137388944626, -0.0...
<p>I am defining the basic matrix:</p> <pre><code>1 2 3 4 5 6 7 8 </code></pre> <p>As follows:</p> <pre><code>PROC IML; RESET NOPRINT; matrix = {1 2 3 4, 5 6 7 8}; EXIT: </code></pre> <p>I'm looking to resample each row (for using the bootstrap) with replaceme...
g41514
[ 0.002492851810529828, -0.034359872341156006, 0.001983179245144129, -0.03842300921678543, 0.02857350744307041, -0.056600138545036316, -0.01335480622947216, 0.02542947046458721, -0.07970678806304932, 0.014751486480236053, -0.02187076024711132, 0.03299251198768616, 0.0444028414785862, 0.03651...
<p>What is the probability distribution function of the variable $y$ given by $$y=\frac{x_1}{x_1-x_2},\quad \: x_i\ge 0,$$</p> <p>given that $x_1$ and $x_2$ are independent and identically distributed and $$x_i = c+z_i,\quad i=1,2 $$ where $c$ is a real nonnegative constant and $z_i\sim\chi^2_\nu$.</p>
g419
[ 0.03341255336999893, -0.03579244390130043, -0.010041609406471252, 0.03832360357046127, 0.011427264660596848, -0.0029803235083818436, 0.013977084308862686, -0.00006717383803334087, -0.015056167729198933, -0.007996289059519768, -0.04177393764257431, 0.03793105483055115, -0.013566048815846443, ...
<p>I am doing a research in linguistics and I am not to sure what test to choose in the following problem.</p> <p>There is a group of 26 students. They are asked a question and two possible variants are suggested. 12 of them choose the first answer, and 14 of them choose the second variant. </p> <p>What test should I...
g15027
[ -0.0007506709662266076, -0.002213370753452182, 0.009039732627570629, -0.05635586008429527, 0.008336353115737438, -0.026923157274723053, 0.012729713693261147, 0.016118450090289116, 0.014369212090969086, 0.005048852413892746, 0.06191062554717064, -0.001773119205608964, -0.013867778703570366, ...
<p>I want to fit a standardized generalized hyperbolid distribution to my data using the optim command.</p> <p>Regarding my post <a href="http://stats.stackexchange.com/questions/58547/r-command-to-fit-a-standardized-generalized-hyperbolic-distribution-to-data">here</a>, I think I have to try it manually, by using the...
g38692
[ 0.01264139823615551, -0.01726679690182209, -0.0071265799924731255, -0.012457776814699173, 0.03987251967191696, 0.011400019749999046, 0.013489656150341034, -0.014406457543373108, -0.08521871268749237, -0.03478264808654785, -0.062140315771102905, -0.0034270407631993294, 0.039576057344675064, ...
<p>What is the most efficient way to find a set of 5 rigid, coplanar, non-collinear points within a 3D point cloud of, for example, 100 points?</p> <p>(1) The configuration is specified by 2D coordinates (or in 3D with z=0). The points in the configuration and the ones in the point cloud we are intending to search ar...
g59478
[ 0.022878525778651237, 0.03799980878829956, -0.00783515628427267, -0.025230450555682182, 0.02752077579498291, -0.07859309017658234, 0.06842932850122452, -0.09056004136800766, -0.10012432932853699, 0.024895919486880302, 0.0037395316176116467, -0.03826524317264557, 0.0304326880723238, -0.0229...
<p>Please, I have a doubt in my study for doctoral thesis…</p> <p>Title: “Development of a thermal cycling protocol for dental materials”. Objective: to create a protocol for thermal aging, from measurements that were found in people mouth. Doubt: What analyses could I use for this variation temperature data? Experim...
g59479
[ 0.030178219079971313, -0.022323260083794594, 0.0007658525719307363, -0.009960029274225235, -0.044421035796403885, -0.052529823035001755, 0.017587995156645775, 0.010973821394145489, -0.002875560661777854, 0.045692093670368195, 0.021020950749516487, 0.012793147005140781, 0.04363512620329857, ...
<p>I have the following frequency table:</p> <pre><code>35 0 4 3 7 6 5 4 39 1 9 6 7 7 6 8 36 0 7 10 11 11 10 16 41 0 9 8 8 7 6 7 41 0 8 9 10 9 12 11 55 2 12 9 11 12 11 13 55 1 10 10 11 10 12 11 47 1 14 8 12 15 12 12 45 1 10 11 10...
g12750
[ -0.0362691655755043, -0.018083201721310616, 0.015650419518351555, -0.03754565119743347, -0.005743762943893671, -0.03427436202764511, -0.02982950210571289, 0.0005141071160323918, -0.01932496391236782, -0.01025450136512518, 0.005205127876251936, 0.028478235006332397, 0.03687623143196106, 0.0...
<p>I'd like to do rank prediction (something very similar with regression) based on historical data, is there any package I can use in R ? Here's my problems:</p> <p>I have a historical data of sports games, and all the rank of each team and some statistic of these teams, I'd like to use these data to predict these t...
g12751
[ 0.029320163652300835, -0.04799530282616615, -0.005528831854462624, -0.018977852538228035, -0.06861173361539841, -0.06904509663581848, 0.007838228717446327, 0.00993424840271473, -0.02703607641160488, -0.012446421198546886, 0.05213373899459839, 0.06173177435994148, 0.027075817808508873, -0.0...
<p>Colleague draw my attention to the following <a href="http://mpra.ub.uni-muenchen.de/32706/" rel="nofollow">discussion paper</a>. In my opinion this discussion paper is clearly intended as a critique of the routinely published articles in the field. The discussion paper relates the growth of gross domestic product w...
g59480
[ 0.04316175729036331, 0.1072770208120346, 0.012750817462801933, -0.018035074695944786, -0.03547028824687004, 0.03741179034113884, 0.036059681326150894, -0.05160079896450043, -0.025683758780360222, -0.015776067972183228, 0.0016068669501692057, -0.005250069312751293, 0.029580865055322647, 0.0...
<p>I'm going through my copy of Analysis of Financial Time Series, 2nd Edition, and I'm at the ARMA portion. One of the techniques for model selection is computation of the extended auto-correlation function, which indicates that, in a table of EACF's with MA coefficients listed across the top and AR coefficients liste...
g59481
[ -0.0022230949252843857, -0.0521281398832798, -0.00822869036346674, -0.026446053758263588, 0.017449425533413887, -0.003615838475525379, 0.09199655801057816, 0.002119675511494279, -0.06736543029546738, 0.027862878516316414, -0.023744771257042885, 0.04473703354597092, 0.0741867870092392, -0.0...
<p>So I'm looking to compare different combinations of features and classifiers. But I'm getting a lot of combinations that achieve 100% cross validation accuracy. I'm trying to figure out how I would compare the usefulness of each combination.</p> <p>For example I can both train an SVM using Features 1, 10, 15 to get...
g13645
[ 0.0013444223441183567, 0.005233610048890114, 0.02512899972498417, 0.03681306168437004, 0.07611572742462158, -0.06345439702272415, 0.028717510402202606, 0.04744650423526764, -0.04852578043937683, -0.02296490967273712, -0.009300551377236843, 0.026174843311309814, 0.05759471654891968, 0.02187...
<p>I am writing my PhD thesis and I've realized that I rely excessively in box plots in order to compare distributions. Which other alternatives do you like for achieving this task?</p> <p>I'd also like to ask if you know any other resource as the R gallery in which I can inspire myself with different ideas on data vi...
g44378
[ 0.019224386662244797, 0.03526666387915611, -0.01523269060999155, -0.0674985870718956, -0.07655216008424759, -0.04391142725944519, 0.0013941089855507016, -0.02497280389070511, -0.015107288025319576, -0.07869181036949158, 0.06591109186410904, -0.029362723231315613, 0.1159970685839653, 0.0173...
<p>I read online that it is only necessary to use adjusted-$R^2$ when you are working with a sample rather than the entire population.</p> <p>The data I'm working with is information on a series of live educational seminars. Each datapoint represents a single seminar that was held in the past, and contains various inf...
g15033
[ -0.00826784037053585, -0.015283242799341679, -0.008848587982356548, -0.029983434826135635, -0.0004978873766958714, -0.01168066170066595, 0.055861398577690125, 0.03716355934739113, -0.004591247066855431, -0.023840181529521942, 0.010190093889832497, 0.016283320263028145, -0.016356050968170166,...
<p>In preparation for my end of semester R exam, I've been working on the following CSV file which was modelled on R, which I'm currently having problems figuring out. </p> <p><img src="http://i.stack.imgur.com/cdRNC.png" alt="enter image description here"> <img src="http://i.stack.imgur.com/B6D61.png" alt="enter imag...
g59482
[ 0.01011408306658268, -0.001277027651667595, -0.0019557219929993153, -0.045631181448698044, -0.03445006161928177, -0.03521149978041649, 0.03479447215795517, 0.036843761801719666, -0.04246219992637634, -0.009466293267905712, 0.025060102343559265, 0.00015732349129393697, 0.027557963505387306, ...
<p>I'm trying to test the performance of posterior inference on a set of documents with hierarchical Dirichlet process for topic modeling. How can i convert my data (document) to standard data format ?</p> <p>such as this command :</p> <pre><code>[M] [term_1]:[count] [term_2]:[count] ... [term_N]:[count] </code>...
g59483
[ 0.05125957354903221, -0.033926092088222504, -0.00603879289701581, -0.11394090950489044, 0.0031080630142241716, -0.02194357104599476, -0.02429833449423313, 0.028159810230135918, -0.051492881029844284, -0.05125394091010094, -0.0023427323903888464, 0.027718277648091316, 0.014641119167208672, ...
<p>Say I've got a predictive classification model based on a random forest (using the randomForest package in R). I'd like to set it up so that end-users can specify an item to generate a prediction for, and it'll output a classification likelihood. So far, no problem.</p> <p>But it would be useful/cool to be able to ...
g41076
[ -0.02388373576104641, -0.025734905153512955, 0.016691632568836212, -0.02952883578836918, -0.024309204891324043, -0.057187631726264954, -0.06097977235913277, 0.042904332280159, -0.028413819149136543, -0.04333090782165527, 0.015129227191209793, 0.02365475706756115, 0.038977280259132385, -0.0...
<p>1.AdaBoost updates the weight of the sample By the current weak classifier in training each stage. Why doesn't it use the all of the previous weak classifiers to update the weight. <strong>(I had tested it that it converged slowly if I used the previous weak classifiers to update the weight )</strong> </p> <p>2.It...
g59484
[ 0.012081149034202099, -0.019418762996792793, 0.004456822760403156, -0.02593160606920719, 0.021552402526140213, -0.009732660837471485, 0.010550227016210556, 0.050591710954904556, -0.038325559347867966, -0.045936521142721176, -0.04220804199576378, 0.02288179285824299, 0.04976679012179375, 0....
<p>I've searched everywhere for this answer, and come up empty handed. </p> <p>I'm building a forecasts model for interface traffic reported in 5 minute intervals over a 1 year period. </p> <p>To account for multiple seasonality, I came to the conclusion that the TBATS function in R would be most useful (with seasons...
g59485
[ -0.0018735443009063601, 0.017842575907707214, -0.024506447836756706, -0.016490740701556206, -0.013279970735311508, -0.0377545990049839, 0.09580684453248978, -0.016575047746300697, -0.022781668230891228, -0.025085799396038055, -0.0067926812916994095, 0.004252697341144085, 0.0816723108291626, ...
<p>I'm using ridge regression for calculating optimal weights of a set of scores. These scores are correlated so the usage of ridge regression is used for penalizing large values of weights. So the purpose of ridge regression is to find beta that minimize the following:</p> <p>$$ \sum_i{(y_i - x^T_i\beta_i)^2} + \lam...
g59486
[ 0.017510876059532166, -0.02542443573474884, 0.005453136283904314, -0.022303013131022453, 0.024808645248413086, -0.014822986908257008, 0.005024073179811239, 0.05790654569864273, -0.07637712359428406, -0.0058623310178518295, 0.0019346850458532572, -0.012920081615447998, 0.041262608021497726, ...
<p>I have created training set and test set from my data. Then I performed auto.arima() and ets() in R on the training set to predict one-step ahead forecasts. These were then compared with the test set values to measure error, namely RMSE, MAPE &amp; MAE.</p> <p>This is the output of both ets and auto.arima</p> <pre...
g15038
[ -0.040287554264068604, -0.0527559369802475, 0.022096697241067886, -0.003383393632248044, -0.03654855489730835, 0.0008275834261439741, 0.05518406629562378, 0.004997280426323414, -0.010392207652330399, -0.010397836565971375, 0.05766830965876579, 0.06405919790267944, 0.06487435102462769, -0.0...
<p>I have the following 2x2 table</p> <pre><code> NO YES 9690 5 LOW 26354 39 HIGH </code></pre> <p>I want to</p> <ol> <li>plot the proportions and their exact confidence intervals in two bar</li> <li>plots test if the proportion YES in LOW differs significan...
g49378
[ 0.030517347157001495, -0.01868433505296707, -0.003947701305150986, -0.0016542315715923905, 0.0077226487919688225, 0.04986279830336571, 0.04878617450594902, 0.03860260173678398, -0.04542787745594978, -0.028277631849050522, -0.019462769851088524, 0.0050620767287909985, 0.015249534510076046, ...
<p>Is anyone aware of a re-parameterization of any asymmetric s-shaped function (like, but not necessarily the 5 parameter logistic curve), where one of the parameters is the first inflection point of the first derivative (i.e. the maximum of the second derivative).</p> <p>I mean <strong>point 1</strong> in the upper ...
g37947
[ 0.0049319639801979065, -0.05556892231106758, -0.01814926043152809, 0.0375707633793354, 0.059070736169815063, -0.06251212954521179, 0.00006716135249007493, 0.0185907743871212, -0.06644278019666672, 0.047415442764759064, -0.0304779764264822, 0.0276517104357481, 0.07476527243852615, 0.0443904...
<p>Let's say I have the following logistic regression models:</p> <pre><code> df=data.frame(income=c(5,5,3,3,6,5), won=c(0,0,1,1,1,0), age=c(18,18,23,50,19,39), home=c(0,0,1,0,0,1)) &gt; md1 = glm(factor(won) ~ income + age + home, + data=df, family=bin...
g59487
[ -0.04154772683978081, -0.03106566332280636, -0.002175184665247798, -0.02491188235580921, 0.008244461379945278, -0.02601444348692894, 0.0708046704530716, 0.006479418370872736, -0.06198849156498909, -0.014131864532828331, -0.06746122241020203, 0.011949626728892326, 0.07582258433103561, -0.03...
<p>i have the following tree</p> <pre><code>Outlook( [Sunny] =&gt; (Yes, Yes, No, No, No), [Overcast] =&gt; (Yes, Yes, Yes, Yes), [Rainy] =&gt; (Yes, Yes, Yes, No, No) ) </code></pre> <p>i want to know how to calculate the information value of each set</p> <pre><code>info([2,3]) info([4,0]) info([3,2]) </co...
g49559
[ -0.026263417676091194, 0.0016960898647084832, -0.031527936458587646, -0.04007704183459282, -0.002304501598700881, -0.045629922300577164, 0.0029500469099730253, -0.03821580857038498, -0.08183874189853668, 0.017593447118997574, -0.07778562605381012, 0.08430686593055725, 0.03313643857836723, ...
<p>From my model selection based on information criteria such as SBIC returns me a ARMA(0,0) model. Should I choose it or reject it? and Why?</p> <p>Need some guidance on this.</p>
g59488
[ 0.04803945869207382, -0.004455972462892532, 0.01655958592891693, 0.021907659247517586, 0.026130985468626022, 0.009022429585456848, -0.003747976152226329, 0.014651131816208363, 0.013374408707022667, 0.013303291983902454, 0.049224089831113815, 0.013942995108664036, 0.048846982419490814, 0.02...
<p>I'm studying by myself, and the text says « If $\epsilon_\alpha$ is the upper $\alpha$-quantile of the distribution of $\frac{\hat{\theta}-\theta}{\hat{\sigma}}$, then $P(\hat{\theta}-\epsilon_\beta\hat{\sigma}\leq \theta \leq \hat{\theta}-\epsilon_{1-\alpha}\hat{\sigma} )\geq 1-\beta-\alpha$ .» However, from wiki, ...
g15044
[ 0.002285702619701624, -0.0322406105697155, -0.018189232796430588, -0.05990619584918022, 0.08669305592775345, 0.0028529204428195953, 0.041703641414642334, -0.020436368882656097, -0.015935232862830162, -0.006974940188229084, -0.016960928216576576, 0.032471664249897, 0.03637809678912163, 0.05...
<p>I have the following survival <a href="http://dl.dropbox.com/u/45635510/simple_sample.csv" rel="nofollow">data</a> and have constructed a survival plot however cannot mark the right censored points (which makes me think my survival graph is also incorrect) - how can I manage this please?</p> <p>Now answered! - <im...
g59489
[ -0.04778511822223663, -0.06868533790111542, -0.010043177753686905, 0.03541209548711777, 0.03672808036208153, 0.021305566653609276, -0.03397783637046814, 0.016149016097187996, -0.01746060512959957, 0.017595358192920685, 0.040336206555366516, 0.005729260854423046, 0.06632382422685623, 0.0197...
<p>I have instances of data that are composed of 6 attributes. Each attribute takes values between 1-10. Any instance has a utility calculated by some utility function:</p> <p>Example: {1,1,2,5,5,2} , utility = 0.89</p> <p>In some readings for these attribute values, undefined values may appear in the instance, I mar...
g59490
[ 0.014336112886667252, 0.002061374019831419, -0.0404202863574028, -0.036378927528858185, 0.02988557331264019, 0.007593502290546894, -0.0500495471060276, 0.021686166524887085, -0.026803307235240936, -0.001508935703895986, 0.006187645252794027, 0.01996702142059803, 0.0714702159166336, 0.00165...
<p>Recently I am studying a probability problem related to the multivariate hypergeometric distribution. The problem is stated as:</p> <blockquote> <p>Given well-mixed $n$ balls of $m$ colors, and assume that $n_i$ is the number of balls with color $i$, where $i \in {1, ..., m}$. So we have $\sum_{i=1}^{m}n_i = n$</...
g59491
[ 0.009532812051475048, 0.03524437174201012, 0.008921287953853607, -0.04797644168138504, -0.02534566819667816, -0.004507916513830423, 0.0350647009909153, -0.05156693980097771, 0.015752099454402924, 0.04187342897057533, -0.042960528284311295, -0.010604741983115673, 0.04947681352496147, 0.0197...
<p>I have a data set of 40,000 individuals which I clustered using k-means. I used 30 variables, each ordinal from <code>1=minimum</code> to <code>5=maximum</code>. I reduced these 30 variables to 10 factors and ran K-means on these new variables. I kept a clustering of 12 clusters. </p> <p>I now have 7000 new observa...
g15047
[ 0.055486761033535004, -0.0874783918261528, -0.018821217119693756, -0.031196754425764084, 0.02764279954135418, -0.011599198915064335, -0.025649093091487885, 0.034086957573890686, 0.00875698309391737, -0.07545379549264908, 0.02327575348317623, 0.04112051799893379, 0.06758192926645279, 0.0478...
<p>I dont get the difference between the <code>rfobject$importance</code> and <code>importance(rfobject)</code> in the MeanDecreaseAccuracy column.</p> <p>Example:</p> <pre><code>&gt; data("iris") &gt; fit &lt;- randomForest(Species~., data=iris, importance=TRUE) &gt; fit$importance setosa versicol...
g15049
[ -0.0053670709021389484, -0.03919917345046997, -0.011638814583420753, -0.028412291780114174, 0.10800766944885254, -0.030699677765369415, -0.0005152322701178491, -0.022181591019034386, -0.047936517745256424, -0.009111677296459675, -0.0007634731009602547, 0.02148466184735298, 0.0478120706975460...
<p>Suppose I sample many times independently from each of two normal distributions. Given the means, standard deviations, and number of samples from each distribution, how can I calculate the probability that the highest sampled value came from the first distribution?</p> <p>I can solve this question by simulating it ...
g59492
[ 0.04412984475493431, 0.004905947484076023, 0.011533882468938828, 0.000176754139829427, -0.02440459281206131, 0.0029610588680952787, -0.04733801260590553, 0.06933407485485077, -0.015278981998562813, -0.015287622809410095, -0.06004812940955162, 0.008991418406367302, 0.04121291637420654, 0.01...
<p>If I have random variables $X_1,X_2,\ldots,X_n$ that are Poisson distributed with parameters $\lambda_1, \lambda_2,\ldots, \lambda_n$, what is the distribution of $Y=\left\lfloor\frac{\sum_{i=1}^n X_i}{n}\right\rfloor$ (i.e. the integer floor of the average)?</p> <p>A sum of Poissons is also Poisson, but I am not c...
g15051
[ 0.009764902293682098, 0.027309374883770943, -0.03440751135349274, -0.049027275294065475, -0.00600672559812665, -0.023077022284269333, -0.03512738272547722, -0.042852289974689484, -0.012486507184803486, -0.03864150121808052, -0.06352005898952484, -0.017273912206292152, -0.035937048494815826, ...
<p>I am given a set of almost 100 crosstabulations (most 2D, but some three dimensional) based on a single, yet unavailable dataset. My task is to perform basic statistical tests ($\chi^2$, Mann-Whitney, Kruskal-Wallis, etc.). I could calculate them by hand, by it would be over one order of magnitude faster to use my "...
g59493
[ 0.0025866637006402016, 0.00643784087151289, -0.022885054349899292, -0.036566052585840225, -0.046324435621500015, -0.01446683518588543, 0.06972257792949677, -0.02913552336394787, -0.043984077870845795, 0.021347451955080032, -0.00529287476092577, -0.03618881478905678, 0.02870846539735794, -0...
<p>I want to run PCA on a set of variables and then regress the scores on my dependent variable.</p> <p>I have the following questions:</p> <ol> <li>Should I scale and center my variables?</li> <li>If yes, should I also standardize my dependent variable before running linear regression?</li> <li>What if I don't stand...
g15053
[ 0.062440577894449234, -0.05060189217329025, 0.0030525398906320333, -0.04034270718693733, 0.008251657709479332, -0.05216747894883156, -0.02465096302330494, 0.0315888337790966, -0.03179500624537468, -0.06089252233505249, 0.016884520649909973, 0.05469434708356857, -0.03302508965134621, -0.001...
<p>I'm trying to understand a passage in Koenker's Quantile regression book (p.33). It says: (note that y,x, are vectors and w is the direction vector) <img src="http://i.stack.imgur.com/KZVlI.png" alt="enter image description here"></p> <p>With the first part of the outcome no problem: I apply the product rule for de...
g59494
[ -0.009993293322622776, -0.024026038125157356, -0.025795860216021538, 0.016755351796746254, 0.03704465925693512, -0.019215155392885208, 0.06444607675075531, 0.011488095857203007, -0.029572606086730957, -0.04324760288000107, -0.07215383648872375, 0.024032196030020714, 0.037090498954057693, 0...
<p>I am trying to fit a model to binomially distributed data, which I have done via the maximum likelihood method. Normally I'm working with normally distributed data (or data which I can convince myself and occasionally others is normally distributed) and I'm a little confused about how to find asymmetric errors on my...
g44741
[ 0.04863201081752777, -0.021389061585068703, -0.00870384369045496, 0.03516395762562752, -0.005154840182512999, 0.055470265448093414, -0.022317878901958466, -0.004352389369159937, -0.05501778796315193, 0.025051666423678398, 0.03086916357278824, -0.07446124404668808, 0.041282203048467636, 0.0...
<p>I wish to simulate survival data for the following probabilistic model which will be analyzed using a Cox model:</p> <p>An exposure $X$ is modeled as binary having $X \sim_{iid} \mbox{Bernoulli}(p)$ where $p = \frac{1}{3}$. The hazard is a function of $X$ with:</p> <p>\begin{eqnarray} \log \left( \lambda(t|X=0) \r...
g59495
[ -0.017013434320688248, -0.05109204724431038, 0.008526720106601715, -0.01572604291141033, 0.004340458195656538, 0.002567712217569351, -0.04948645830154419, 0.004171574022620916, -0.023639647290110588, -0.014626097865402699, 0.022773411124944687, 0.056509435176849365, 0.07581787556409836, -0...
<p>My colleague and I disagree on the following data, and the calculation of the mean: </p> <p>Given $n$ respondents, each respondent has three chances to score a hoop at basketball. A respondent has 'hooped' successfully if they score 1 or more hoops. </p> <p>Given the following table of scores</p> <pre><code>respo...
g59496
[ 0.004998322110623121, 0.024699097499251366, 0.007756268139928579, 0.005865178536623716, 0.004327121656388044, 0.014223531819880009, 0.07612494379281998, -0.04136543348431587, -0.018078412860631943, -0.0003521521866787225, -0.04831134155392647, 0.03271247446537018, -0.005776357837021351, 0....
<p>I am investigating the relationship between temperature fields obtained from numerical weather models and electricity demand. I am applying a PCA-based approach, i.e. I study the linear relationship between main temperature patterns/modes and main demand patterns/modes. Given that I am working on summer yearly deman...
g49118
[ -0.02320982702076435, -0.003457859857007861, -0.010680961422622204, -0.02377760224044323, -0.0179129671305418, -0.0562581792473793, 0.06190074607729912, -0.005928277503699064, -0.058555424213409424, 0.016975026577711105, 0.02941322512924671, -0.027430955320596695, 0.06510879099369049, 0.02...
<p>I'm implementing various algorithms to estimated the best number of bins to use for histograms. Most of the ones I am implementing are described on the wikipedia page:</p> <p><a href="https://en.wikipedia.org/w/index.php?title=Histogram&amp;oldid=548769683#Number_of_bins_and_width">https://en.wikipedia.org/w/index....
g59497
[ -0.016126472502946854, 0.0638815388083458, -0.0013985497644171119, -0.09097255766391754, 0.012006805278360844, -0.052612192928791046, 0.03173230588436127, 0.05027294158935547, -0.07316924631595612, -0.009861338883638382, 0.0032475425396114588, 0.020921483635902405, 0.0724518820643425, 0.05...
<p>I want to implement the EM algorithm manually and then compare it to the results of the <code>normalmixEM</code> of <code>mixtools</code> package. Of course, I would be happy, if they both lead to the same results.</p> <p>The main reference is Geoffrey McLachlan Finite Mixture Models 2000.</p> <p>I have a mixture ...
g15056
[ -0.01300343032926321, -0.07709071040153503, 0.0024188158567994833, -0.04280121996998787, 0.010312297381460667, 0.005800488870590925, 0.032754942774772644, 0.01725090481340885, -0.03995739296078682, -0.008046370930969715, 0.008647793903946877, 0.004408746492117643, 0.08662179857492447, -0.0...
<p>I am a bit confused with this. </p> <p>Independence - The response variables are independent. I only have a single response variable so OK? Or observations are independent of each other? E.g Auto Correlated </p> <p>Normality - The response variable is normally distributed. My response variable (Y) fails a number o...
g49560
[ 0.002939260797575116, -0.06078607216477394, -0.011819543316960335, -0.006883119232952595, -0.043527714908123016, 0.009888402186334133, 0.05217823386192322, 0.009360547177493572, -0.04083596542477608, -0.025285689160227776, -0.0037407984491437674, 0.04092757776379585, -0.020522868260741234, ...
<p>Suppose I have two data sets. The average of one data set is 5.5 secs and the standard deviation is 0.0435. The average of the other data set is 5.2 secs but the standard deviation is 0.5123. I know that something is wrong with the second data set because the standard deviation is too high.</p> <p>My question is ho...
g44339
[ 0.051763150840997696, -0.014254918321967125, 0.012633942067623138, -0.030690761283040047, -0.019184844568371773, 0.023009518161416054, -0.012049526907503605, 0.014384115114808083, -0.036792851984500885, -0.05733374133706093, 0.027064111083745956, -0.008187240920960903, 0.034343913197517395, ...
<p>I use hierarchical clustering to cluster users which are similar to each other based on a Jaccard coefficient. </p> <p>I have now coded a solution to extract similar users based on hierarchical clustering: To group users that are similar I compute the Jaccard coefficient between all the different users. I then che...
g13648
[ 0.06479325890541077, -0.019761132076382637, 0.03677968680858612, -0.03076026774942875, 0.012787052430212498, -0.044017691165208817, 0.033179402351379395, 0.022491455078125, -0.049403056502342224, 0.016898831352591515, 0.02061731182038784, 0.05746972933411598, 0.029114490374922752, -0.01491...
<p>I have a data set based on 14 field sites, the dependent variable I am investigating is count data recorded at each site (on 3-5 visits). The independent variables (I have around 45) are fixed at each site (apart from wind speed and temperature). An example data set, illustrating this is below:</p> <pre><code> ...
g59498
[ 0.027773896232247353, -0.041231825947761536, -0.01550010871142149, -0.042568568140268326, -0.03626814857125282, -0.04008989781141281, 0.015638316050171852, 0.014559726230800152, -0.08051183819770813, -0.042266976088285446, 0.003971636760979891, 0.021982913836836815, 0.006657746154814959, -...
<p>I fitted a cox model as:</p> <p><code>cfit &lt;- coxph(Surv(tr$start, tr$end, tr$event1) ~ imp+sec + cluster(tr$compid))</code></p> <p>Now i want to get the probability of event1 for the test dataset for each start and stop time interval, given it has other variables present.</p> <p>How can i use the predict func...
g59499
[ 0.009887545369565487, -0.03355260193347931, -0.015539776533842087, -0.044277023524045944, 0.009598433040082455, -0.03832326456904411, 0.010938488878309727, 0.038127075880765915, -0.061668761074543, -0.039504535496234894, -0.01222970150411129, 0.012308980338275433, 0.05474431812763214, -0.0...
<p>Suppose I have a process <strong>X1</strong>, for which I do not have a generator matrix, only a transition (probability) matrix <strong>P1</strong> for some time interval <strong>T</strong>, e.g. <strong>T</strong>=100. Suppose I have another process <strong>X2</strong>, such that <strong>X2</strong> is identical t...
g59500
[ 0.008243980817496777, -0.0035855364985764027, 0.0008090790361166, -0.008471570909023285, -0.036328624933958054, -0.015175427310168743, 0.0012783181155100465, 0.07719162106513977, -0.0444391705095768, 0.023544691503047943, -0.04603526368737221, 0.02493363246321678, 0.05409802496433258, 0.00...
<p>What is the difference between data 'Normalization' and data 'Scaling'? Till now I thought both terms refers to same process but now I realize there is something more that I don't know/understand. Also if there is a difference between Normalization and Scaling, when should we use Normalization but not Scaling and vi...
g59501
[ 0.08739060908555984, 0.014689627103507519, -0.0018750210292637348, -0.00670963991433382, -0.0018634955631569028, 0.04945644736289978, -0.025784486904740334, 0.07998162508010864, -0.0321250855922699, -0.023018857464194298, -0.003916528075933456, 0.014037206768989563, 0.015727857127785683, -...
<p>I was unable to figure out how to perform linear regression in R in for a repeated measure design. In a <a href="http://stackoverflow.com/questions/12182373/plot-of-a-linear-regression-with-interactions">previous question</a> (still unanswered) it was suggested to me to not use <code>lm</code> but rather to use mixe...
g59502
[ 0.03576786071062088, -0.07003645598888397, -0.00018185046792495996, -0.05161891505122185, 0.012765701860189438, -0.016326971352100372, 0.05651763826608658, -0.004598673898726702, -0.06316017359495163, -0.06354144960641861, -0.02711031399667263, 0.010118662379682064, 0.0025963233783841133, ...
<p>We have trained about 200 Linear Support Vector Machines (hand-coded in C#) belonging to our 200 categories and we use them in text categorization. Due to the shortness of the text in our training samples and other uncontrollable factors, very often every machine returns a negative number for (classifies as negative...
g59503
[ -0.008296720683574677, 0.0024343919940292835, 0.01571589708328247, 0.01710730977356434, -0.020763197913765907, -0.035093698650598526, -0.030733410269021988, 0.06096257269382477, -0.06436015665531158, -0.045616112649440765, 0.050765860825777054, -0.0061810677871108055, 0.06612534821033478, ...
<p>I am doing a modearated moderation using the process add on. There is no significant 3-way interaction for my 3 moderator (one is gender) but the conditional effects suggests that the signficant 2-way interaction is different for males and females. How do I interpret/report this?</p>
g59504
[ -0.03047490492463112, -0.012978942133486271, -0.027103198692202568, -0.04815901815891266, 0.060820598155260086, 0.02493966370820999, 0.020621631294488907, 0.016423247754573822, -0.019667115062475204, -0.042129822075366974, -0.03140515461564064, 0.009975334629416466, 0.012619361281394958, 0...
<p>Formality says that when computing the sample variance or sum of squares one computes a sample mean with the sample data given. </p> <p>If for some reason I had access to a better estimate of the mean (from a bigger sample) then can I use that mean instead of the mean from the given sample?</p> <p>I want to comput...
g59505
[ 0.0033126266207545996, 0.0004284332098904997, -0.01721702329814434, -0.044181570410728455, -0.052911680191755295, -0.07324901968240738, 0.0016143193934112787, 0.05850240960717201, -0.04271220043301582, -0.0277481097728014, 0.017012514173984528, 0.04695308580994606, 0.06333231180906296, 0.0...
<p>I have 2 study areas</p> <p>Study area 1: 12 meteorological stations-years available 1981-2000(same data and step)</p> <p>Study area 2: 10 meteorological stations-years available 1985-2011(same data and step)</p> <p>From the 1st study area I have to use the above mentioned data series. I would like to know which ...
g15065
[ -0.00759223522618413, -0.02153943106532097, 0.00988610927015543, -0.03963494300842285, -0.0281276386231184, 0.031678151339292526, 0.03206810727715492, 0.022158829495310783, 0.017529545351862907, -0.02442709170281887, 0.034922998398542404, 0.023380890488624573, 0.007905365899205208, -0.0142...
<p>Canonical correlation analysis (CCA) aims to maximize the usual Pearson product-moment correlation (i.e. linear correlation coefficient) of the linear combinations of the two data sets.</p> <p>Now, consider the fact that this correlation coefficient only measures linear associations - this is the very reason why we...
g59506
[ 0.012372680008411407, -0.061238620430231094, 0.016785403713583946, -0.04363321140408516, 0.0030615534633398056, -0.015557387843728065, 0.05043255165219307, -0.0002311207354068756, -0.0134093863889575, -0.012336133979260921, 0.015996679663658142, -0.006962077226489782, 0.0021985084749758244, ...
<p>I'm looking for ideas on how to discover cheating in sports that have judges awarding points. I can't name the sport since I participate in it at the moment. It's been known for a long time that this sport has rampant collusion behind the scenes. </p> <p>In each competition there are competitors who are evaluated o...
g59507
[ 0.052406247705221176, -0.049523502588272095, -0.001651749829761684, 0.027112020179629326, 0.031589116901159286, -0.014819665811955929, 0.005063534248620272, 0.022167829796671867, -0.01990368403494358, -0.01861330308020115, 0.004424337297677994, 0.06788438558578491, 0.026817040517926216, 0....
<p>I have 3 vectors which are unequal in size (lengths: 21, 33 and 7). Each vector contains ratio of bug-to-duplicate bugs in 3 different time periods. I have to find whether there is a difference between the 3 groups.</p> <p>I cannot use one-way ANOVA since the groups have unequal sample sizes and unequal variances. ...
g15066
[ -0.022467205300927162, 0.008009395562112331, -0.0008583548478782177, -0.016644641757011414, -0.003414712380617857, -0.0012174909934401512, -0.0201701782643795, -0.004188903607428074, -0.03726961091160774, 0.043041326105594635, 0.015744727104902267, -0.002241097390651703, -0.01542120240628719...
<p>I normally cross-validate my tree-models (rpart) only on cp-value, e.g. by using caret or xpred or the internal rpart cross validation function. </p> <p>However, there are other rpart parameters -- for example <a href="http://stat.ethz.ch/R-manual/R-devel/library/rpart/html/rpart.control.html" rel="nofollow">minimu...
g15067
[ -0.01230594888329506, 0.0006826366297900677, 0.022195296362042427, 0.008015930652618408, -0.004370013251900673, -0.009491894394159317, -0.004864347632974386, -0.01722504198551178, -0.05019664764404297, 0.015012294054031372, 0.008219709619879723, -0.028827564790844917, 0.0066275037825107574, ...
<p><a href="http://en.wikipedia.org/wiki/Spiking_neural_network">Pulsed or Spiking</a> neural networks incorporate more of the membrane dynamics of biological neurons, where pulses carry information to the next layer. The neurons do not necessarily have to "fire" all at the same time, as they would in a backprop, for ...
g37434
[ 0.007103277835994959, 0.057245414704084396, 0.028201721608638763, 0.05915375053882599, 0.04280148074030876, -0.028403354808688164, 0.014548799023032188, 0.06955328583717346, -0.03034648858010769, -0.022830218076705933, 0.027314838021993637, 0.012163136154413223, 0.05258004739880562, 0.0307...
<p>If I have a time series regression model with serially correlated errors:</p> <p>$Y_t=\beta_0+\beta_1X_t+\epsilon_t$</p> <p>$\epsilon_t=\rho\epsilon_{t-1}+v_t$</p> <p>why is the estimate of the correlation ($\rho$) in the second equation NOT the autocorrelation of the residuals from the first equation?</p> <p>Th...
g59508
[ 0.06109779328107834, -0.0864534080028534, 0.0019349886570125818, -0.006699316203594208, 0.03772146627306938, 0.019370416179299355, 0.05145251005887985, 0.030507739633321762, -0.010748682543635368, -0.030639182776212692, 0.003416551975533366, 0.07029738277196884, 0.009665751829743385, -0.02...
<p>I ran a regression in which I have an interaction term of two factor variables.</p> <p>The one of the variables has 2 levels: Condition_A &amp; Condition_B (therefore the first one is the reference category) but the other one is called Group.Membership has 3 levels: Group_1, Group_2 &amp; Group_3 (therefore the fir...
g49561
[ 0.02878028154373169, -0.05108938738703728, -0.009346266277134418, -0.06871020048856735, 0.07927591353654861, -0.02620558813214302, 0.04568876698613167, 0.008921785280108452, -0.026371261104941368, -0.017249086871743202, -0.004000627901405096, 0.019062766805291176, -0.02293892204761505, 0.0...
<p>Apparently Wooldridge, <a href="http://rads.stackoverflow.com/amzn/click/0324660545" rel="nofollow">Introductory Econometrics</a>, 2002ed is the only book showing that two-stage least squares (2SLS) is asymptotically efficient. I cannot get a copy of the proof. </p> <p>Is it correct to just use the generalized meth...
g59509
[ 0.03730599954724312, -0.03910493105649948, -0.009244585409760475, -0.06193753704428673, 0.008629398420453072, -0.007837275043129921, 0.06391163915395737, -0.014807435683906078, -0.032161910086870193, 0.06535084545612335, 0.009834622964262962, 0.03601471334695816, 0.0692828819155693, 0.0169...
<p>Prove that FGLS is asymptotically efficient. Does one have to use Cramer Rao to do this?</p>
g44350
[ 0.02686951495707035, 0.061030253767967224, 0.009415394626557827, -0.052145134657621384, -0.004214816726744175, -0.07452311366796494, 0.03872936964035034, -0.05014395713806152, -0.006707705091685057, -0.028525158762931824, 0.03697953000664711, 0.010296083986759186, 0.029283421114087105, 0.0...
<p>Given $f\left(x|\theta\right)=1/\theta, 0\leq x\leq \theta,L\left(\theta, a\right)=\left(a-\theta\right)^2,$ and $\pi\left(\theta\right)=\theta e^{-\theta},\theta\gt 0$</p> <p>I've seen <a href="http://stats.stackexchange.com/questions/7631/problem-calculating-joint-and-marginal-distribution-of-two-uniform-distribu...
g59510
[ 0.055789195001125336, 0.01041849423199892, -0.0061231316067278385, -0.08738656342029572, 0.02138422802090645, 0.023391788825392723, 0.021274490281939507, 0.04053083434700966, -0.058886297047138214, -0.009931046515703201, 0.02095988765358925, -0.005104081705212593, 0.031121600419282913, -0....
<p>I am having difficulty interpreting the results of a colleague. I don't know much about ANOVA other than it is a regression from classifications to floating point numbers.</p> <p>From reading Gotelli's Ecological Statistics book, I have figured out more or less that the F-ratio is a step in getting the P value. The...
g49562
[ 0.0477573461830616, 0.019247744232416153, -0.027851706370711327, -0.04119715094566345, 0.029453687369823456, 0.017799444496631622, 0.06718558073043823, 0.02173842117190361, -0.025038035586476326, -0.015623494051396847, -0.019055569544434547, 0.015184258110821247, 0.04510294646024704, 0.004...
<p>What kind of plot are normally used in Generalized linear model and what are their interpretations?</p> <p>Especially for Standardized deviance residual vs fitted value plot, what can we see from the plot?</p>
g15072
[ -0.0008611715747974813, -0.01720617339015007, -0.02432127855718136, -0.0008533832151442766, -0.05658678337931633, 0.03438575938344002, 0.03527490049600601, 0.023975219577550888, -0.020718377083539963, -0.006040590349584818, -0.000008165307917806786, 0.00926997885107994, 0.03625241294503212, ...
<p>I have a question about different ways of specifying a response variable in a model and what effect this could have on my results. </p> <p>In my example, I wanted to model the number of times a bird visits a nest to feed its young during a set period of time. So the data would be a set of counts, let's call it <cod...
g15073
[ 0.019925745204091072, 0.03927355632185936, -0.0030873760115355253, -0.054933298379182816, 0.014826517552137375, -0.015952270478010178, 0.023983387276530266, -0.02355899102985859, -0.019414689391851425, -0.021084556356072426, 0.007183251436799765, -0.014526154845952988, 0.09040062129497528, ...