question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>I'm a SQL/C++ developer who recently has been asked to generate a report from our database to predict some future performance based on historical data; the problem is that I don't have much experience of this sort of data modelling.</p> <p>I initially thought I could take an average of each month's results and use ...
g24373
[ 0.024485083296895027, -0.03081628493964672, -0.004892523400485516, -0.03154030069708824, -0.0485021211206913, -0.03344038501381874, 0.03935588523745537, 0.04245090112090111, -0.05909506604075432, -0.03697850555181503, 0.007481642998754978, 0.016011135652661324, 0.07411489635705948, -0.0203...
<p>It is <a href="http://stats.stackexchange.com/questions/17320/mixing-and-dividing-point-processes/17346#17346">well known</a> that the superposition of $N$ Poisson processes is itself a Poisson process with an intensity given by $\sum_{n=1}^{N} \lambda _{n}$.</p> <p>Conversely a superposition including any non-Poi...
g65680
[ 0.012556455098092556, -0.0010000194888561964, -0.024270284920930862, -0.08380067348480225, 0.016929445788264275, -0.028307141736149788, 0.0012888668570667505, 0.019119983538985252, -0.03927716612815857, -0.011552548035979271, -0.0800754725933075, -0.01266125962138176, -0.02199758216738701, ...
<p>From this link <a href="http://www.inf.ed.ac.uk/teaching/courses/inf2b/learnnotes/inf2b-learn-note07-2up.pdf" rel="nofollow">Text Classification using Naive Bayes</a>, there are two models described for classification, Naive and Bernoulli. My question is if i want to make this classifiers for multiclass (multivariate...
g24376
[ 0.014850548468530178, -0.08776833117008209, 0.003548678709194064, -0.017427297309041023, 0.011117606423795223, -0.04190694913268089, 0.01545675192028284, 0.003771026385948062, -0.02799685299396515, -0.05195882171392441, 0.028490835800766945, -0.001676794490776956, 0.06510564684867859, 0.06...
<p>As the issue of p value is still inconclusive and many papers point out that the confidence intervals are more informative in selecting factors in fixed effects, I would like to ask about interpretation of linear mixed model in R. Is it possible to select the important factors from the t value comparing to the range...
g65681
[ 0.0077589526772499084, -0.045998238027095795, -0.001055339933373034, -0.012973543256521225, -0.00304237543605268, 0.03588136285543442, 0.047068532556295395, 0.013092927634716034, -0.06120046228170395, -0.03013359196484089, 0.020800424739718437, 0.009300815872848034, 0.006730069871991873, -...
<p>I'm working on project in Matlab which aim is to demonstrate how Luby Transform codes work. I need to generate generation matrix and I need to get some values from Robust Soliton Distribution, can someone explain me how to generate numbers according to this distribution, I need to generate one value for each column ...
g65682
[ 0.02316911146044731, 0.00686485692858696, -0.022095676511526108, -0.023082418367266655, 0.055087264627218246, -0.004834542516618967, -0.0021772626787424088, 0.03799042850732803, -0.03683806210756302, -0.04731595888733864, -0.04227352887392044, -0.0055307443253695965, 0.07158375531435013, -...
<p>I have a two-mode network which looks into relationship between forum threads. Two forum threads are connected if the same user has replied to both. The nodes are sized based on number of people who have only replied to the given forum thread, and no other ones (it would be the users who are unique to the given thre...
g65683
[ 0.06379284709692001, 0.04310784488916397, -0.017921043559908867, -0.06633052229881287, 0.06523305177688599, -0.04845840856432915, 0.035549696534872055, 0.0153433782979846, -0.0003644184907898307, 0.03308489918708801, -0.022976525127887726, -0.007324340287595987, 0.043482471257448196, 0.021...
<p>This is a homework question where I have not been able to reach any conclusion . I have an exam tomorrow . Please help me out .</p> <blockquote> <p>We have a set of data from patients who have visited a hospital . A set of features ( eg temperature , height ) have been also extracted for each patient . Our goal i...
g65684
[ 0.057675108313560486, 0.04960577189922333, 0.026327526196837425, 0.00032576604280620813, 0.000015965877537382767, -0.0243701059371233, 0.04373486340045929, 0.017288995906710625, -0.03845168277621269, -0.02979779802262783, -0.006085621193051338, 0.05962120741605759, 0.027744291350245476, 0....
<p>I am trying to comprehend the proof of the Least Angle Regression algorithm and I am stuck at certain points. I would appreciate any help that I can get. </p> <p>Let me set the stage: I am following the paper in the following <a href="http://www.stanford.edu/~hastie/Papers/LARS/LeastAngle_2002.pdf" rel="nofollow">l...
g65685
[ 0.07722018659114838, -0.06644019484519958, 0.008066123351454735, -0.04040384292602539, 0.04385485500097275, -0.04470600187778473, 0.10313079506158829, 0.04108128324151039, 0.0519014410674572, -0.02395109459757805, 0.015462057664990425, 0.04690222069621086, 0.006845785770565271, 0.010992041...
<p>Let us have $N$ random variables generated by uniform distribution. That is, $$u_i \sim \mathcal{U}(0,1),\quad i=1,\ldots,N$$.</p> <p>What is the probability of $u_N$ being the largest? I.e., how can I compute $$p\Big(u_N\geq \max(u_1,u_2,\ldots,u_{N-1})\Big)$$</p>
g24380
[ -0.044105030596256256, 0.020489074289798737, -0.021110475063323975, -0.03086848556995392, -0.01107482798397541, 0.012256698682904243, -0.014275467954576015, 0.051220688968896866, -0.02509971708059311, -0.0004834245191887021, -0.057855024933815, 0.020803403109312057, 0.04039788246154785, 0....
<p>Can you please check my work in the problem below?</p> <hr> <p>Consider a location model:</p> <p>$$X_i =\theta +e_i, \quad i=1,\ldots,n $$</p> <p>where $e_1, e_2, \ldots e_n $ are iid with pdf $f(z)$. Define $\mathbf{\mu}=\theta \mathbf{1}$ where $\mathbf{1}$ is a vector with all its components equal to $1$. Let...
g65686
[ -0.057460442185401917, -0.061328988522291183, -0.00839087925851345, -0.030447551980614662, -0.005633070133626461, -0.023490000516176224, 0.04700537398457527, 0.05143212154507637, -0.06162030249834061, 0.03758770227432251, -0.006467449478805065, 0.01993994228541851, 0.02727309800684452, -0....
<p>I'm working on practice exercises with R. From the data, I now have to determine the difference in predicted male compared to female spending while keeping all other predictors constant.</p> <p>I replaced the sex <code>0,1</code> with <code>male, female</code>:</p> <pre><code>&gt; spending$sex=factor(spending$sex)...
g65687
[ -0.005691761150956154, -0.05952069163322449, 0.009361468255519867, -0.02444818988442421, -0.015014786273241043, -0.038237378001213074, 0.04719081148505211, -0.03061450831592083, -0.061610665172338486, -0.003494143020361662, -0.03884385526180267, 0.05470295622944832, -0.006864740513265133, ...
<p>I have data that is of the form $y = \frac{\beta_1}{1 + \exp(\beta_2 + \beta_3 * x)}$. For the estimation of $\beta_1$ to $\beta_3$ I use the formulas of this paper: <a href="http://www.google.at/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;cad=rja&amp;ved=0CB8QFjAA&amp;url=http://cran.r-project....
g65688
[ 0.049729302525520325, -0.061886925250291824, 0.00047195612569339573, -0.00024710589786991477, -0.0015030745416879654, -0.015002526342868805, 0.009716124273836613, -0.01271652989089489, -0.07853948324918747, -0.037617966532707214, -0.06749837845563889, 0.04206106439232826, 0.02094380930066108...
<p>I have a question on a survey that asks students how useful a feature of the software was that they used for learning. I then have three questions that assess in what way the feature was useful. The measures use a 7-point Likert scale from Very Strongly Disagree to Very Strongly Agree:</p> <pre><code>The [[feature]...
g65689
[ -0.0197543203830719, -0.05868614464998245, 0.029603125527501106, -0.06626947224140167, 0.023127317428588867, -0.03772732987999916, 0.04761794954538345, 0.002915517194196582, -0.05844941735267639, -0.019170567393302917, 0.031917691230773926, 0.011819526553153992, 0.059554196894168854, 0.047...
<p>My question is how to make an interaction effect become significant in two-way ANOVA.</p> <p>If my main effect A has an F value of F(1,80)=25.5 for example, and my main effect B has an F value of F(3,80)=15, but my interaction effect has a value of F(3,80)= 2.06 which is not significant, how do I change the score i...
g65690
[ 0.00024268422566819936, 0.002568428171798587, 0.008016117848455906, -0.057373903691768646, 0.03998969867825508, 0.01866254024207592, -0.014030911028385162, 0.04280233383178711, -0.041719093918800354, -0.03392297402024269, -0.02086590975522995, 0.04903305321931839, 0.06343354284763336, 0.02...
<p>18 boys and 2 girls are made to stand in a line in a random order.Let $X$ be the number of boys standing in between the girls .Find $P[X=5]$ and $E[X]$. I proceed in this way: Note that $$P[X=0]=\frac{19.18!.2!}{20!}=\frac{19-0}{20\choose2}$$ $$P[X=1]=\frac{18.18!.2!}{20!}=\frac{19-1}{20\choose2}$$$$P[X=2]=\frac{17....
g24383
[ -0.016134189441800117, 0.02127421647310257, -0.03591161593794823, -0.06321964412927628, 0.04827069491147995, -0.023375315591692924, 0.059804096817970276, -0.03638671338558197, -0.03972674533724785, 0.007772733457386494, -0.10258094221353531, 0.0017025602282956243, -0.03896727040410042, -0....
<p>I am analyzing some data and want to look at one particular point and see how "extreme" it is.</p> <p>Do I exclude this outlier from the data, calculate the dataset's standard deviation and average, then compare my outlier to THAT, or do I calculate the standard deviation and average WITH the outlier included and T...
g65691
[ 0.03491007909178734, -0.01917022094130516, 0.008630023337900639, 0.0007316801347769797, -0.04538637772202492, 0.01596413180232048, 0.009217862039804459, 0.02711290493607521, -0.05151587352156639, -0.03783704712986946, 0.013597623445093632, 0.030190344899892807, 0.026505649089813232, -0.041...
<p>I have written some code which uses AdaBoost to generate a set of weak classifiers. I'm finding, however, that when I use the resulting strong classifier to classify examples, it seems that almost every weak classifier classifies an example the same way. Either they all think it's negative, or they all think it's po...
g65692
[ 0.017139840871095657, 0.003108291421085596, 0.011984803713858128, -0.043795790523290634, 0.0659969374537468, -0.006919002626091242, -0.02020665630698204, -0.00938360020518303, -0.01084670890122652, -0.03897244110703468, -0.03674269840121269, 0.016455478966236115, 0.026319332420825958, 0.01...
<p>I have a relatively complicated model-fitting procedure, the output of which is a set of coefficients $\beta$ (one for each feature in the training set) and a set of hyperparameters $\lambda$ (which control the amount of regularization).</p> <p>I would like to compute p-values for each feature. At the moment, my pr...
g65693
[ 0.01913601905107498, -0.02771366387605667, -0.011680735275149345, -0.07169732451438904, 0.02368745394051075, -0.0451883040368557, 0.012521026656031609, 0.008261749520897865, -0.056296177208423615, -0.027536936104297638, -0.04910595342516899, 0.007677474990487099, 0.013799509964883327, 0.04...
<p>Eg. such as those on this page <a href="http://store.steampowered.com/hwsurvey" rel="nofollow">http://store.steampowered.com/hwsurvey</a></p> <p>Is there any ready-made software that can do this? Alternatively, any recommendations for other software that does something similar? I know this is not really a statistic...
g65694
[ -0.00749084772542119, 0.010806317441165447, -0.022502336651086807, -0.04753398150205612, -0.08162425458431244, -0.08299802988767624, -0.02359115704894066, -0.06534022837877274, -0.04820850118994713, -0.041554179042577744, 0.0684162899851799, 0.04165304824709892, 0.07185052335262299, 0.0123...
<p>Most of my reference on matching has been Rosenbaum's book "Observational Studies". From what I understand, the usual process of matching involves administering a treatment that is represented by a binary value of either 0 or 1, depending on whether the patient got the treatment or not. In the case that I am looking...
g24386
[ 0.050110023468732834, -0.06952384859323502, 0.004537702538073063, -0.030909720808267593, -0.033473122864961624, -0.010021025314927101, 0.005431428551673889, 0.015592548064887524, 0.01732107251882553, -0.017021313309669495, 0.0472160167992115, -0.015344769693911076, 0.007979078218340874, 0....
<p>I am analyzing growth over time for 5 different cultivated forms (cultivars) of maize. Graphing the data reveals a clear linear pattern for all the cultivars in the time interval I am interested in. Multiple linear regression with categorical (5 cultivars) and continuous (7 time points) explanatory variables appears...
g65695
[ 0.03203659877181053, 0.0031592550221830606, -0.025975100696086884, -0.02626105211675167, -0.06106141209602356, -0.03497866541147232, 0.03671395406126976, -0.015415248461067677, -0.05619444325566292, -0.004982115235179663, 0.001624639960937202, -0.00849885493516922, 0.02077382244169712, 0.0...
<p>Imagine we regress <code>y</code> on <code>x1</code>...<code>x4</code>. Now, we want to find out if <code>x5</code> is a stronger predictor than <code>x6</code> (given the other variables). Note that all variables are scaled.</p> <p>Would it be okay to use the residuals to see which one would be a stronger predicto...
g65696
[ 0.018687844276428223, -0.06314565986394882, -0.0016579809598624706, -0.011055038310587406, -0.006619828753173351, -0.0629703551530838, 0.020400140434503555, 0.027041707187891006, -0.04087891802191734, 0.003417367348447442, -0.004645617678761482, 0.04008246213197708, 0.03934701904654503, 0....
<p>I would like to produce a regression analysis model. I have ordinal categorical data. I can use SPSS. I do not know what analysis to perform or what assumptions to check. </p> <p>What are the statistical tests that can be performed? How can I test the accuracy of the model? </p>
g65697
[ -0.02398136630654335, -0.052861109375953674, -0.013937946408987045, -0.04679727181792259, 0.011236687190830708, -0.04143724963068962, 0.001137505634687841, 0.02044227160513401, -0.023985261097550392, -0.02110658958554268, 0.01869018003344536, 0.01028638705611229, 0.09238293021917343, 0.003...
<p>In a famous plot, Charles Minard visualised the losses of the French Army in the Russian campaign of Napoleon:</p> <p><img src="http://i.stack.imgur.com/A7z2Q.png" alt="enter image description here"></p> <p>(another nice example is <a href="http://synapticnulship.com/blog/wp-content/uploads/2010/09/movie_narrative...
g24387
[ 0.0017840126529335976, -0.034756850451231, -0.03769125044345856, -0.0900425910949707, -0.022301558405160904, -0.012235114350914955, -0.032282039523124695, 0.0022402831818908453, 0.004217064473778009, -0.013262595050036907, 0.032853975892066956, -0.020026352256536484, 0.11581698805093765, -...
<p>I am interested in examining the association between cardiorespiratory fitness and PCA derived dietary pattern scores in 264 adolescents. My cardiorespiratory fitness predictor is vo2max, and my outcomes are a "Treat Foods" pattern and a "Fruit and Vegetable" pattern. Both vo2max and my pattern scores are continuous...
g24389
[ -0.00004085168620804325, -0.0652962177991867, 0.007332090754061937, 0.055381253361701965, -0.02844717912375927, -0.010432587005198002, 0.03858131170272827, 0.02055027149617672, 0.011973359622061253, -0.06649443507194519, 0.008774436078965664, 0.007562167476862669, 0.01359772402793169, 0.06...
<p>Initially, I had only heard of MLE and use it for almost everything, e.g. point estimate and model selection (with some penalty).</p> <p>Then, MSE appeared, which seems to play the same role as MLE does. I learned that both MSE and MLE are results from loss functions (entropy vs quadratic). Choose which one to use ...
g24390
[ 0.03343019261956215, -0.05997025966644287, 0.022417036816477776, 0.003382363123819232, 0.012918622232973576, -0.07930347323417664, -0.005516755860298872, -0.01529272086918354, -0.0611749030649662, -0.03864165395498276, -0.007704218849539757, 0.010199300944805145, 0.1452452689409256, 0.0022...
<p>If X is taken from a uniform discrete distribution, how can I find the MSE of the MLE of N? (I got disturbing and contradictory answers).</p> <p>I am having some trouble with calculating the mean squared error of the MLE and it seems that I am getting two answers depending on which definition I am using. </p> <p>I...
g65698
[ -0.0021722533274441957, -0.02052449993789196, -0.00476631848141551, -0.05611870810389519, 0.022774478420615196, -0.02877786010503769, -0.02012171410024166, 0.036548156291246414, -0.021378912031650543, -0.04075828194618225, 0.002435639500617981, 0.06863969564437866, 0.08854112774133682, 0.0...
<p>Well, I have these values: $\mathrm{Mean}=5.77$; $95\%\mathrm{CL}=5.30-6.11$</p> <p>How can I simulate a normal distribution using these parameters? I do not have standard deviations.</p> <p>How can I obtain random values (for example, 1000 of them) that fit to these parameters? (like using the <code>rnorm</code> ...
g49731
[ 0.046117715537548065, 0.0050086877308785915, -0.004589077550917864, -0.037416376173496246, -0.009950312785804272, 0.03409393131732941, -0.024266665801405907, -0.039766617119312286, -0.014865877106785774, -0.006519828923046589, -0.0271846204996109, -0.03988836333155632, 0.01766984537243843, ...
<p>Given a sample of n units out of a population of N, population median can be estimated by the sample median.</p> <p>How can we get the variance of this estimator?</p>
g24391
[ 0.01979905739426613, 0.005487416870892048, -0.011496691964566708, -0.005739990621805191, 0.014143604785203934, -0.006228855811059475, -0.019505575299263, 0.04543667659163475, 0.019505707547068596, -0.028436431661248207, -0.008379901759326458, 0.050877515226602554, -0.034886084496974945, -0...
<blockquote> <p>A single observation of a random variable having a geometric distribution is used to test the null hypothesis $\theta=\theta_0$ against the alternative hypothesis $\theta=\theta_1 &gt; \theta_0$.</p> <p>If the null hypothesis is rejected if and only if the observed value of the random variable is...
g65699
[ 0.05828377977013588, 0.011384646408259869, -0.010406927205622196, -0.01673875004053116, 0.03271690011024475, -0.01733294501900673, 0.03719424828886986, 0.012618012726306915, -0.04604043439030647, 0.011462426744401455, -0.01064139325171709, 0.07249409705400467, 0.04590637609362602, 0.040046...
<p>After making some variable transformations, I chose this model because I works well with the assumptions and gives the largest R-Squared and the smallest Overall MS in cross-validation between a set of linear models.</p> <pre><code>&gt; gn&lt;- lm(NA.~ I(PC^0.25) + I(((PI)^2)),data=DSET) &gt; summary(gn) Call: lm(...
g24393
[ -0.005263195373117924, -0.05414409190416336, 0.013706549070775509, -0.03567235544323921, -0.0179374348372221, 0.003595933085307479, 0.07183201611042023, -0.004584185779094696, -0.03569365665316582, -0.0038372757844626904, -0.012696116231381893, 0.06286460161209106, 0.031248047947883606, -0...
<p>I'm trying to calculate the optimal portfolio regarding Foster-Hart riskiness measure satisfying following equation:</p> <p>1) E(log10(1+v/R))=0</p> <p>where: R is the value of riskiness v is the vector of daily returns of the portfolio.</p> <p>v is composed as a sum of products of individual investment return...
g65700
[ 0.008925323374569416, -0.026487309485673904, -0.010594738647341728, 0.014701812528073788, -0.011077797040343285, -0.055688224732875824, 0.052339985966682434, -0.029907409101724625, -0.0770714208483696, 0.022857317700982094, 0.009181790053844452, 0.015464343130588531, 0.040393196046352386, ...
<p>As for the title, the idea is to use mutual information, here and after MI, to estimate "correlation" (defined as "how much I know about A when I know B") between a continuous variable and a categorical variable. I will tell you my thoughts on the matter in a moment, but before I advice you to read <a href="http://s...
g65701
[ 0.06029684841632843, -0.04043882340192795, 0.0089125856757164, -0.022495321929454803, -0.0010155453346669674, -0.010016053915023804, 0.01630917750298977, 0.015582453459501266, -0.07545486837625504, 0.007467789575457573, -0.006245765835046768, 0.020642582327127457, 0.006651039235293865, 0.0...
<p>I have 5 variables for each countries of the world and I need to analyze their effect and interactions on an independent variable. Random Forest would be adequate for my scope as it deals with non-linear relationships and predicts variables importance. However, I'm wondering if spatial dependence may be an issue. I'...
g65702
[ -0.01094928290694952, -0.01881561428308487, 0.017844367772340775, -0.030362548306584358, -0.026339367032051086, -0.0022551214788109064, -0.006715958006680012, -0.008342558518052101, -0.03787007927894592, -0.002604959299787879, 0.027605637907981873, -0.03318972513079643, -0.024193022400140762...
<p>When I run a standard Difference in differences specification with a log-transformed dependent variable, like:</p> <p>$log(Outcome_{it}) = \beta_1 + \beta_2*Treat_i +\beta_3*Post_t +\beta_4(Treat*Post)_{it} +\epsilon_{it}$</p> <p>How do I interpret the coefficient $\beta4$ ?</p> <p>Normally in log-level models I ...
g65703
[ -0.029499134048819542, -0.030504077672958374, -0.03189947083592415, -0.048045989125967026, 0.03980452939867973, -0.01655779406428337, 0.05111997202038765, 0.0076530082151293755, -0.05582696199417114, -0.036860376596450806, -0.07556600868701935, 0.051357097923755646, 0.05415898934006691, -0...
<p>I am a fresh graduate student. I want to do research in machine learning and data mining. There is no professor in our department doing this! </p> <p>I want to try to do this by myself, at least for a while. But I don't where should I start. What books or review papers should I read at the beginning? </p>
g4843
[ 0.00451136939227581, 0.02548617124557495, 0.007417472545057535, -0.017782725393772125, -0.006007576826959848, 0.025354770943522453, -0.012264681980013847, 0.03207354247570038, -0.04715917631983757, -0.013595533557236195, 0.038807447999715805, 0.04927898570895195, 0.087502621114254, -0.0198...
<p>Say we're working on a random effects model of some count data over time, and we want to control for some trends. Normally, you'd do something like:</p> <p><code>lmer(counts ~ dependent_variable + (1+t+I(t^2)|ID), family="poisson")</code> to include a quadratic shape for t. Is it possible to use some more sophistic...
g65704
[ 0.029811514541506767, -0.025258267298340797, -0.02048613131046295, -0.0666816234588623, -0.027766989544034004, -0.0801977589726448, -0.0006858155247755349, -0.018819276243448257, -0.03182429447770119, -0.013569395989179611, 0.029609089717268944, 0.014032509177923203, 0.1037195548415184, 0....
<p>I have a question regarding the statistical method necessary to determine a correlation between a set of individual correlations. Below is an example of a situational question I currently face.</p> <p>To clarify as requested. I have gathered data on over 400 hotel properties. I then determined if there is a correla...
g17006
[ 0.037192460149526596, -0.020395450294017792, 0.019992124289274216, -0.028463102877140045, -0.022936765104532242, -0.019772415980696678, 0.026968790218234062, 0.008424953557550907, -0.038892436772584915, -0.03684675320982933, -0.008800720795989037, -0.011042815633118153, -0.029141699895262718...
<p>I am looking into continuous time markov chains which I think are capable of answering questions like "what is the probability that after time $t$ (where $t$ is in discrete time steps in this case) a transition from current state $i$ will occur", or more precisely "what is the probability that a transition from curr...
g65705
[ -0.0004828871169593185, 0.020051194354891777, 0.012019742280244827, -0.008750610053539276, -0.019619859755039215, -0.04253726825118065, 0.061175622045993805, 0.03361326456069946, -0.012504244223237038, 0.003552547423169017, -0.03424405679106712, 0.02512131817638874, 0.04913056269288063, 0....
<p>I estimated the so called translog production function:</p> <p>$$ y_{it} = \beta_0 + \beta_1 k_{it} + \beta_2 l_{it} + \beta_3 k_{it}^2 + \beta_4 l_{it} \times k_{it} + \beta_5 l_{it}^2 + \epsilon_{it}, $$ where $y$ is the natural logarithm of gross output; $l$ is the log of labour; and $k$ is the log of capital. ...
g32026
[ 0.00020744319772347808, -0.01857740618288517, -0.012909756042063236, -0.05577564612030983, -0.02268146723508835, -0.0278669074177742, 0.06422362476587296, -0.04093794524669647, -0.06349532306194305, 0.04244963079690933, -0.016737278550863266, 0.030690431594848633, -0.016264166682958603, -0...
<p>I am having trouble to understand the min {X,Y} where X and Y are independent random variables.</p> <p>From the online source, it says that min{X,Y} &lt; x if and only if X>x, Y>y.</p> <p>First of all, what exactly do you mean by the term "minimum " of the two random variables? Does it refer to the domains that ...
g65706
[ 0.002790941158309579, -0.011668873950839043, -0.02850165404379368, -0.024223826825618744, -0.0434969961643219, 0.010490363463759422, -0.040622301399707794, 0.006176735740154982, 0.010111987590789795, -0.0550847053527832, -0.03633572906255722, 0.04120998457074165, -0.012447020970284939, -0....
<p>I have series with 62 observations. How do I create a series with just the first 26 observations so that I can run an estimation on it?</p> <p>Sorry, really really beginner with gretl. I tried the square bracket but it just gives a single element. (I know general purpose programming languages very well.)</p>
g347
[ -0.000536528998054564, 0.03311573714017868, -0.012792496010661125, -0.0853506475687027, 0.01680549420416355, -0.035997506231069565, -0.00371563364751637, -0.01311499997973442, -0.04859906807541847, -0.03953607752919197, -0.012294851243495941, 0.04772712290287018, 0.027678096666932106, 0.02...
<p>Can someone please explain the difference behind <strong>WHY</strong> the cross correlation function <code>ccf()</code> chooses to keep the same denominator for all lags and chooses to ignore the reduction in observations? Here's an example of the two methods not matching:</p> <pre><code>x = c(1,2,3,4,5,6,7,8,9,10...
g65707
[ 0.09297462552785873, -0.05319720134139061, -0.0019335439428687096, -0.024405205622315407, 0.06607049703598022, 0.03240736573934555, 0.09185469150543213, 0.023685570806264877, -0.02662656642496586, -0.0651668831706047, -0.021272335201501846, -0.01773357205092907, 0.052690718322992325, 0.040...
<p>I am not well versed in statistics. I wanted to know why we use the determinant of the covariance matrix instead of having the covariance matrix itself when writing down the multivariate normal distribution. Why do we do this and what is the intuition behind it?</p> <p>I have noticed that for a basic Maximum Lkikel...
g65708
[ 0.08590865135192871, -0.025996951386332512, -0.018499132245779037, -0.0437125638127327, 0.03620221093297005, 0.00248934724368155, 0.04474806785583496, 0.009506040252745152, -0.07174621522426605, 0.009715155698359013, 0.017604943364858627, -0.0008989977650344372, 0.02184372767806053, 0.0587...
<p>I have a question about terminology.</p> <p>Suppose I have data categorized by three factors A, B, and C, with cell means $\bar{y}_{ijk}$ and cell frequencies $n_{ijk}$, where $i$, $j$, and $k$ index A, B, and C respectively. And suppose I want to summarize the results for factor A by computing some sort of weight...
g65709
[ 0.0033477789256721735, -0.053686000406742096, -0.013785678893327713, -0.08989189565181732, -0.0035096679348498583, -0.02571871690452099, -0.023712117224931717, -0.04151035100221634, -0.052015841007232666, 0.01061526220291853, -0.00591632816940546, 0.023078223690390587, 0.06456345319747925, ...
<p>This is not really a coding question but more of a statistical question.</p> <p>I'm doing a proportions test on multiple proportions for many subjects.</p> <p>For example, subject 1 will have multiple proportions (multiple "successes per total trials"), and subject 2 will have multiple proportions. And for each su...
g32035
[ 0.03284027799963951, 0.00012049618817400187, -0.003057778114452958, -0.056693851947784424, -0.0073514338582754135, -0.0004481885698623955, -0.02320714108645916, 0.030546894297003746, -0.03283483162522316, 0.018866846337914467, 0.042513005435466766, 0.0018962317844852805, 0.06035132333636284,...
<p>After training a support using the e1071 package of R, how can I calculate an information criterion such as AIC or BIC?</p>
g65710
[ 0.017909059301018715, -0.015010054223239422, 0.025315308943390846, -0.031129183247685432, 0.05538496747612953, -0.06417477875947952, 0.025591686367988586, 0.09538080543279648, -0.03422938287258148, -0.016406120732426643, -0.050284214317798615, 0.03695280849933624, 0.07009665668010712, 0.00...
<p>I am not a statistics expert so please bear with me. It is about making predictions about how long something should take based on measurements of how long things took in the past. (Things like fixing software bugs)</p> <p>Up until now I have been using a normal standard deviation to be able to state things like "th...
g24404
[ 0.05406000092625618, -0.027675703167915344, -0.017385931685566902, -0.045902520418167114, -0.04452787712216377, -0.0060608056373894215, 0.03480604290962219, 0.04667803272604942, 0.01880408637225628, -0.025346549227833748, 0.02456287480890751, -0.006260700523853302, -0.014442267827689648, 0...
<p>I have a bunch of experiments in which I am calculating precision and recall. I want to present a mean precision and recall for these experiments. Should these values be weighted by anything?</p>
g24405
[ 0.006277258042246103, 0.009627752006053925, -0.014636663720011711, -0.06836647540330887, 0.05027077719569206, -0.038790810853242874, -0.03697504848241806, 0.025688305497169495, -0.07528676837682724, -0.0022784231696277857, 0.008962657302618027, 0.0036127089988440275, 0.03190039098262787, 0...
<p>This question is in some way similar to <a href="http://stats.stackexchange.com/questions/3589/correlation-between-two-variables-of-unequal-size">this one</a>, but about another nuance. I have two time series (update: stationary - with both mean and variance equal over time) with missing values in one of them, such ...
g65711
[ 0.026933791115880013, -0.04522503539919853, 0.014819975011050701, -0.0307807307690382, -0.011577022261917591, 0.010614891536533833, -0.022046545520424843, 0.0031668050214648247, -0.026339257135987282, 0.00985950231552124, -0.011595058254897594, 0.01842997781932354, -0.012374975718557835, 0...
<p>I would like to do something in R that SAS can do using SAS's proc mixed (there is some way to do in STATA es well), namely fitting the so called Bivariate model from Reitsma et al (2005). This model is a special mixed model where the variance depends on the study (see below). Googling and talking to some people fam...
g24408
[ 0.014765629544854164, -0.06569173187017441, 0.005456253886222839, -0.036656878888607025, 0.0015504618640989065, -0.046018894761800766, 0.05253729224205017, 0.01689879223704338, -0.05353989452123642, -0.028244489803910255, 0.032339755445718765, -0.009575001895427704, 0.04711507633328438, 0....
<p>If i have the relative proportion for two sample. For example : </p> <p>group 1:</p> <ul> <li>Male: 50%</li> <li>Female: 25% </li> <li>children: 25% </li> </ul> <p>group 2:</p> <ul> <li>Male: 50%</li> <li>Female: 20% </li> <li>children: 30% </li> </ul> <p>How can I measure the % of similarity between the tw...
g65712
[ 0.003756317775696516, -0.03883756697177887, -0.0021934143733233213, -0.06877008080482483, 0.006729423999786377, 0.010998097248375416, -0.025530554354190826, 0.00860285758972168, -0.04279236122965813, -0.014741812832653522, 0.023543531075119972, 0.054964080452919006, 0.03901529312133789, 0....
<p>If I have data on a time series with the following structure</p> <pre><code> Day Value, p 1 1.2 2 2.1 3 4.0 4 3.2 </code></pre> <p>How do I calculate the first order serial covariance of the value $p$ on day $t$ with the value from the previous day, i.e. $\text{Cov}(p_t,p_{t-1})$? (I am...
g65713
[ 0.004539902321994305, -0.03182379901409149, 0.001932597835548222, -0.05807545408606529, 0.005346141289919615, 0.024068547412753105, 0.059135593473911285, -0.03210878744721413, -0.06063701957464218, -0.029063796624541283, -0.01899239793419838, 0.0395396426320076, 0.011691040359437466, -0.03...
<p>I have a population of say 100,000 records that can be either Positive or Negative (true probability of Positive is very small, but unknown - may even be zero). </p> <p>I want to take a sample and estimate how many Positive cases are in the population, to be able to say something along the lines of "I'm 95% confide...
g24412
[ 0.04622241482138634, -0.015281039290130138, -0.008603906258940697, -0.023271633312106133, -0.00837648008018732, -0.018223846331238747, 0.006165970116853714, 0.04318169504404068, 0.004568986129015684, -0.014039051719009876, 0.031583480536937714, -0.006053432822227478, 0.02287203259766102, 0...
<p>I would like to re-implement (or even better find an analogue in GNU GSL which I can easily use) R's "pt" function, since it's not native to my application's language.</p> <p>My use case is to convert a t value, to a p value, along the lines of:</p> <pre><code>if ( t &gt;= 0 ) { 2 * pt(t, df, lower, tail=FALSE) ...
g65714
[ 0.044915661215782166, -0.017983142286539078, 0.008319864049553871, -0.07644258439540863, -0.019395384937524796, -0.018465200439095497, 0.05141282454133034, 0.04480640962719917, -0.0915415957570076, -0.029206370934844017, -0.017061619088053703, 0.017221523448824883, 0.02603093348443508, 0.0...
<p>What are some applications of Chinese restaurant processes?</p> <p>I'm trying to learn a bit about non-parametric Bayesian methods, starting with Dirichlet processes and CRPs, but all the tutorials I've found are about theory, without describing any applications in depth.</p> <p>Names of papers would be great. I'm...
g628
[ 0.04137161746621132, 0.03908192366361618, 0.007013057358562946, -0.015313705429434776, 0.002101482590660453, -0.04170948266983032, 0.02837160974740982, 0.010702473111450672, -0.04149331897497177, -0.04920143634080887, -0.04288359731435776, 0.016102783381938934, 0.035865820944309235, 0.0370...
<p>I have been implementing some classification algorithms (Naive Bayes, SVM etc) recently on the iris data sets to get head start into the data science field. I enjoy working on machine learning problems and exploring more. </p> <p>I am currently stuck with this problem of predicting variables based on just the time ...
g65715
[ 0.004730986896902323, -0.011526664718985558, 0.016343941912055016, -0.013672010973095894, -0.020943496376276016, -0.053718406707048416, 0.03294457122683525, 0.0019492143765091896, -0.03295055404305458, 0.03808865323662758, 0.05217718333005905, 0.050299275666475296, 0.04534979164600372, 0.0...
<p>I have 20 subjects split between two conditions. Each participant rated two items in terms of two attributes, A and B. </p> <p>How do I calculate the correlation between A and B. How do I calculate the correlation (I'm performing analysis in R) between A and B given that there are two ratings per subject?</p> <p>I...
g65716
[ 0.050590284168720245, -0.020593909546732903, -0.0009470207733102143, -0.02536895126104355, -0.0034289571922272444, 0.008823328651487827, 0.013882246799767017, 0.03469548001885414, -0.022667042911052704, -0.04031570628285408, -0.0070231338031589985, 0.03274441137909889, -0.027034202590584755,...
<p>I'm not a huge stats buff and am wondering what the best approach to my problem is. </p> <p>Say I have a list of PPC<sup>*</sup> keywords and if a desired action was taken. Let's say I put this data into two word count list: keywords with purchase and all keywords.</p> <p>For example: </p> <p>Keywords with purch...
g65717
[ -0.009719617664813995, 0.054037824273109436, -0.009321624413132668, -0.04442955553531647, 0.01536933146417141, -0.030845798552036285, 0.034579794853925705, -0.0010292180813848972, -0.05113314837217331, 0.005255550611764193, 0.046015407890081406, 0.00069100980181247, 0.05056862160563469, 0....
<p>Consider a variable $Y$ (e.g., temperature). Suppose that we were able to estimate this variable each year for the past $N$ years using some type of model. This means we have access to annual estimated values for Y (denoted as $Y_1, \ldots, Y_N$) and associated standard errors $S_1,\ldots,S_N$. The goal is to pro...
g24417
[ -0.022821826860308647, 0.0008708285167813301, -0.02933124639093876, -0.0036228839308023453, -0.054328951984643936, 0.03654928877949715, -0.013864395208656788, 0.01457252912223339, -0.017209935933351517, 0.024015987291932106, -0.009410446509718895, 0.060160066932439804, 0.0968732088804245, ...
<p>As motivated by the recent change of the default model selection statistic in the R's forecast package from AIC to AICc, I am curious whether the latter is indeed applicable wherever the former is. I have a series of questions with this respect and here is the first one. </p> <p>I know that to replace AIC with A...
g65718
[ 0.01845606416463852, -0.04260525107383728, -0.001958636799827218, -0.003182942047715187, -0.01300529669970274, -0.04897909238934517, 0.04904615506529808, 0.017162352800369263, 0.01122778095304966, 0.07067923992872238, 0.02069472149014473, -0.004992364905774593, 0.0997004359960556, 0.006692...
<p>I'm classifying text using the one-vs-all approach. There are three classes. I've trained 3 different binary SVM classifiers using 10-fold cross-validation. The accuracy of the binary classifiers is fairly high (above 0.8 for all three classes). Where I'm stuck is utilizing the result of the 3 classifiers to out...
g42813
[ 0.02159043215215206, -0.05289103463292122, 0.011138253845274448, -0.014197399839758873, 0.004527905955910683, -0.04776543751358986, -0.026190953329205513, 0.10381095111370087, 0.012488325126469135, 0.04543811082839966, 0.051142312586307526, 0.02101157046854496, 0.005474496632814407, 0.0314...
<p>I'm trying to find bursty(trending) terms in a text stream. There are two frame in a stream; expected frame and observed frame. </p> <p>For each frame, I tokenize documents(tweets/blog posts etc.) up into terms(words), so I have two term-frequency lists:</p> <p>For Expected Frame:</p> <ul> <li>term a, 2500</li> <...
g42814
[ 0.03587169572710991, 0.027928348630666733, 0.0028036825824528933, -0.0404382161796093, 0.03567694127559662, -0.1265711933374405, -0.02358901873230934, 0.020729776471853256, -0.03413492441177368, 0.028218045830726624, -0.04281137138605118, 0.04054362326860428, 0.03780080005526543, 0.0472055...
<p>I understand how generative model of topic modeling works; for each topic there is a distribution of words, and for each document there is a distribution of topics. </p> <p>Question is how words are determined for each individual topic ? Does this change algorithm to algorithm ?</p> <p><strong>Edit:</strong></p> ...
g24418
[ 0.02061198465526104, 0.022686084732413292, -0.001783820684067905, -0.0029536078218370676, 0.0406019426882267, 0.00813512597233057, -0.007031962741166353, 0.04670654609799385, -0.04019917920231819, 0.02364487573504448, -0.05058718100190163, -0.055951666086912155, 0.05460292100906372, -0.002...
<p>My company has a software system, which, amongst other things runs payroll for its client companies. In the near future, the number of companies running payroll will jump from 100 to 3000. I'm trying to investigate whether the system will be able to cope with the new load.</p> <p>I can do a bit of basic analysis on...
g65719
[ 0.016629064455628395, 0.07428167015314102, -0.012482283636927605, -0.00909067690372467, -0.05149573087692261, -0.033233821392059326, 0.03520210087299347, -0.08025415986776352, -0.05342089384794235, 0.0035285274498164654, -0.010572701692581177, 0.012818615883588791, 0.05546893924474716, 0.0...
<p>Please help.</p> <p>I have 3 IVS and 1 DV in my model. The 3 IVs are rated by 150 Middle Managers while 50 Directors rate the DV. I need to conduct multiple regression. However for cases (rows in SPSS), where Middle Managers rate the 3 IVs, I have missing values for Directors' rating of the DV. How should I conduct...
g65720
[ 0.003458121558651328, -0.04040464758872986, -0.026872312650084496, 0.0044025033712387085, 0.011745045892894268, 0.009463858790695667, -0.016364654526114464, 0.046788837760686874, -0.015248185954988003, -0.03522093966603279, 0.008696217089891434, 0.022035084664821625, 0.013412628322839737, ...
<p>I am trying to estimate a mean of a population in a sample = ${\{x_1,..,x_n\}}$. I currently use 2 estimators: </p> <ol> <li><p>Sample mean = $\frac{\sum {x_i}}{n} $</p></li> <li><p>Horvitz–Thompson estimator (HT) = $\frac{\sum {p_i*x_i}}{\sum {p_i}} $</p></li> </ol> <p>Where $p_i$ is the probability that the ...
g65721
[ 0.015306982211768627, -0.06081251800060272, 0.004713576287031174, -0.03952261433005333, -0.015407472848892212, -0.052802298218011856, -0.05257004499435425, 0.0014939752873033285, -0.048300161957740784, -0.0015034718671813607, -0.0028041829355061054, -0.029730238020420074, 0.03827685117721557...
<p>I am trying to plot a two-component mixture distribution $F_X(x):.7N(0,1)+.3N(3,1)$ with density</p> <p>$$f_X(x) = {0.7 \over {\sqrt{2\pi}}} e^{−x^2/2} + {0.3 \over {\sqrt{2\pi}}}e^{−(x−3)^2/2} $$.</p> <p>I have done the histogram for it but having trouble with plotting the true density,so far this is my code</p> ...
g65722
[ -0.009375684894621372, 0.018610166385769844, -0.010152999311685562, -0.06746998429298401, 0.014189600013196468, -0.02865324728190899, 0.00017957721138373017, -0.015029339119791985, -0.018962418660521507, -0.007907530292868614, 0.05867086723446846, 0.010565800592303276, 0.04762868583202362, ...
<p>I read in Wilcox, 2003 p. 247 that the standard error of the difference between two sample means is (assuming the normality and homoskedasticity assumptions):</p> <p>$\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}$</p> <p>Rather than simply adding the two sample standard errors as in:</p> <p>$\frac{\sigma...
g4850
[ 0.021707406267523766, -0.0498376339673996, -0.0054198456928133965, -0.028621377423405647, 0.004167802166193724, -0.020536061376333237, 0.014651021920144558, 0.0025415425188839436, -0.015640830621123314, -0.009533817879855633, 0.017206700518727303, -0.0026406811084598303, 0.02546236477792263,...
<p>I am using Python's scikit-learn to train and test a logistic regression.</p> <p>scikit-learn returns the regression's coefficients of the independent variables, but it does not provide the coefficients' standard errors. I need these standard errors to compute a Wald statistic for each coefficient and, in turn, com...
g24421
[ -0.013589153997600079, -0.04635941982269287, -0.00448908656835556, -0.018208306282758713, 0.06701026111841202, -0.07104106992483139, 0.014303190633654594, 0.018487757071852684, -0.05916423723101616, -0.0281341802328825, -0.03293295577168465, 0.056424688547849655, 0.05153963342308998, -0.00...
<p>I have found one breakpoint in my linear regression but the slope of two lines have the same decreasing slope, I was wondering if the change of the slope is necessary in recognition of breakpoints.</p>
g24424
[ 0.04041796550154686, -0.03437085449695587, -0.006710798479616642, -0.011359350755810738, 0.08348596096038818, -0.024952268227934837, 0.0009595350129529834, -0.008585427887737751, -0.04335742071270943, -0.05819661170244217, -0.04999053478240967, 0.02405570074915886, 0.03699960559606552, 0.0...
<p>Which is more important when selecting a model? The R2 or the accuracy of the model? Here are 2 different models using the same data with different transformations for the Xs, the Ys are a percentage and the same in both. </p> <p>This is a classification problem in which correct classification has a higher growth ...
g65723
[ 0.03660433739423752, -0.05425339937210083, 0.001595039153471589, 0.03976419195532799, 0.01329953595995903, -0.005735108163207769, 0.08429046720266342, 0.024118583649396896, -0.004414459224790335, -0.031003598123788834, -0.012482275255024433, 0.03762752190232277, 0.048619743436574936, -0.01...
<p>I'm reading some economics papers about the relationship between inequality and growth and some of them have sentences like these:</p> <blockquote> <p>an <em>increase of 0.07 (one standard deviation</em> in the sample) in the income share of the top 20 percent lowers the average annual growth rate just below half...
g65724
[ 0.04320855438709259, 0.05335362255573273, -0.016262801364064217, 0.029284531250596046, 0.028800304979085922, 0.01193732488900423, 0.0533660463988781, 0.03823985904455185, -0.02246161177754402, -0.05496256798505783, -0.010259779170155525, 0.008530641905963421, 0.0494198352098465, 0.02630751...
<p>I need to test how responsive are firms' investment to the level of the country's GDP. I have 90 firms, all in the same country; 10 annual observations for the GDP; and 10 annual observations for each firm's investment level. Do I have to test the relation for each firm separately; if yes is it possible to run a ...
g65725
[ -0.007654416840523481, 0.030052080750465393, -0.012970435433089733, -0.031118659302592278, 0.05136178061366081, -0.015738867223262787, 0.06266442686319351, 0.01690293289721012, -0.0200049988925457, -0.056095369160175323, 0.006447657942771912, 0.04009471461176872, -0.013746755197644234, -0....
<p>I am trying to do a multinomial logistic regression on some data that I generated. I am using R and the package mlogit. My data looks like the following:</p> <pre><code>Class X1 X2 X3 V +0.0655197 +0.6418541 +1.8110291 V-0.6713268 -0.0262458 -0.3602958 V +0.2357610 -0.3602958 -0.6943458 M +0.3900129 +0.5583416 -1....
g65726
[ -0.0379946194589138, -0.07841936498880386, 0.0029057792853564024, -0.06496865302324295, 0.00679031340405345, -0.07745274156332016, -0.012405801564455032, -0.04049933701753616, -0.07178231328725815, 0.006059509236365557, -0.05952896922826767, 0.041766196489334106, 0.10887621343135834, 0.000...
<p>I was going through some lectures related to MCMC. However, I don't find a good example of how it is used. Can anyone give me a concrete example. All I can see that is they run a Markov chain and say that its stationary distribution is the desired distribution.</p> <p>I want a good example where the desired distrib...
g65727
[ -0.00487734517082572, -0.004285777453333139, 0.013302842155098915, -0.015132798813283443, -0.00586520042270422, -0.05651620402932167, 0.005466066766530275, 0.04067084565758705, -0.009669801220297813, -0.01658099889755249, 0.0031944923102855682, 0.013519853353500366, 0.055581413209438324, 0...
<p>I am working on a monthly river flow time series and somebody has asked me to check my model by simulating innovations (or something like that). Can somebody help me about how can we simulate and how can check my model with that? I appreciate if you suggest a article or document in this regard.</p> <p>Also, if my q...
g65728
[ -0.013214638456702232, 0.011927002109587193, 0.008578626438975334, -0.007954342290759087, -0.014765150845050812, 0.005338781047612429, 0.012710940092802048, -0.006485272198915482, -0.01088167354464531, -0.007214873563498259, 0.02051030658185482, 0.07459955662488937, 0.06199416518211365, 0....
<p>I would like to fit multiple distributions that share one of their parameters. As a simple example, let's say I have two different datasets which I know follow a Gaussian distribution. let's say I know $\mu_1$ and $\mu_2$, and now I want to estimate $\sigma_1$ and $\sigma_2$. However, I know that $\sigma_1=\sigma_2$...
g65729
[ 0.06818149238824844, -0.022003808990120888, 0.015923092141747475, 0.01288298424333334, -0.020851267501711845, 0.020243888720870018, -0.046960581094026566, 0.05863295495510101, -0.05102825164794922, 0.012187715619802475, -0.008554561994969845, -0.057137638330459595, 0.03210720419883728, 0.0...
<blockquote> <p>$\textbf{Background:}$ When $\mathbb EX$ is hard to calculate, it is a common trick to use the following formula: $$\mathbb EX=\mathbb E[\mathbb E(X|Y)].$$ And similarly, $\mathbb VX$ can be calculated using the following formula: $$\mathbb VX=\mathbb E[\mathbb V(X|Y)]+\mathbb V[\mathbb E(X|Y)].$$ </p...
g65730
[ 0.05173809453845024, 0.05115963891148567, -0.01750507578253746, 0.037030525505542755, -0.009992558509111404, -0.011882344260811806, 0.05206654965877533, -0.0003695838968269527, -0.004847134929150343, -0.025686413049697876, -0.034380123019218445, 0.07566779106855392, 0.0003471336967777461, ...
<p>Given a covariance matrix, it's simple to draw a venn diagram representing the independent and shared variance of two variables. How might one go about the same (at least, computing all pertinent areas; actual visualization not necessary) for the 3-variable case? Is this even possible?</p>
g65731
[ 0.010933623649179935, 0.042940087616443634, -0.012109851464629173, -0.05169375613331795, -0.016486240550875664, -0.019416412338614464, -0.01362640131264925, 0.010140946134924889, 0.0025043541099876165, 0.01676033064723015, 0.021832359954714775, 0.019656455144286156, 0.02521033212542534, 0....
<p>I want to do a logistic regression in SPSS. However, since I analyse unemployment spells the subjects are sometimes repeated (violating the independence assumption of the regression). One way of removing the within subject variation is by applying a Genlin model with the repeated subject subcommand (in essence a GEE...
g4857
[ -0.05233678221702576, -0.014792029745876789, 0.012977431528270245, -0.05893779546022415, 0.01591118797659874, 0.03223949298262596, -0.026942778378725052, 0.008784078061580658, -0.03226591274142265, -0.002546273171901703, -0.006741629447788, 0.04565777629613876, -0.0015297032659873366, -0.0...
<p>I'm a biology PhD student dealing with ordinal data (scoring of a medical effect: 0–3 points) for the first time and I'm looking for information regarding differences in treating ordinal numbers in</p> <ul> <li>calculating Mean, Median, SD, SEM etc.</li> <li>performing significance tests between two ordinal dataset...
g24432
[ 0.011286100372672081, -0.026308534666895866, 0.000777193927206099, -0.0635625422000885, -0.013468028977513313, -0.041547857224941254, 0.012260072864592075, 0.02849448472261429, 0.01571080833673477, -0.019337862730026245, 0.048631858080625534, 0.047236643731594086, 0.0670502632856369, -0.03...
<p>General theories would be great. My specific problem is I'm trying to find a specific portfolio of all the stocks in the market. The possibilities are huge because I need the stock combination(itself massive) and weights for each stock(even larger than the quadrillion combination). To make matters more complicated,...
g24433
[ -0.0257117822766304, 0.008993195369839668, 0.002737120259553194, 0.007050684653222561, -0.01900842785835266, 0.03588923439383507, 0.030554814264178276, -0.022165481001138687, 0.04137178882956505, 0.007657479960471392, 0.039102401584386826, -0.016217190772294998, 0.06339672207832336, 0.0262...
<p>Consider approximating the following integral: $$ \mathcal{Z} = \int h(x) \pi(x) dx $$ Where $\pi$ is known only up to a normalizing constant, that is, $\pi(x) = \hat{\pi}(x)/\mathcal{Z}_\pi$. We can simulate $\{x^{(i)}\}_{i=1}^m$ from an appropriate proposal distribution $q$ and use the ratio importance sampling e...
g24435
[ -0.033284980803728104, -0.025576483458280563, -0.013203519396483898, -0.026653623208403587, -0.014508463442325592, -0.02590121701359749, -0.01204286515712738, -0.008836468681693077, -0.045684974640607834, 0.058147866278886795, 0.05695730075240135, 0.010105637833476067, -0.017886437475681305,...
<p>Is there any function for $M$-estimation in multivariate linear regression model in <code>R</code>. I can estimate the $\beta$'s in my model by using the <code>rlm()</code> by rewriting the $y$-variables into one column but, I would like to use one function to get the $\beta$'s. </p>
g24436
[ -0.005675118416547775, -0.10692320764064789, -0.01570483297109604, 0.04933616891503334, 0.056599635630846024, -0.06631597876548767, 0.02369406446814537, -0.01287063118070364, -0.056426770985126495, 0.011608911678195, -0.04675431549549103, 0.054226577281951904, -0.005398394539952278, 0.0599...
<p>I have a sample of 100 items, each associated to a random variable for which I can compute expected value and variance: $X_1, X_2, ..., X_{100}$. From these, we can define the mean $\overline{X}=\frac{1}{100}\sum{X_i}$. I'd like to test the hypothesis $H_0:\mu=0$, (where $\mu$ is the true population mean from which ...
g65732
[ -0.009699761867523193, 0.009451908059418201, -0.006967461667954922, 0.006145857740193605, -0.02301122061908245, -0.036897432059049606, -0.006290994118899107, 0.0555085688829422, -0.05249863117933273, -0.04518980160355568, -0.04962075129151344, 0.03668922930955887, 0.02642367035150528, -0.0...
<p>In OLS, the conditional mean $E(Y \mid X)$ is modeled as a function of some regressors $X$, i.e. $$ E(Y \mid X) = X \beta. $$</p> <p>Is there a regression technique that allows to model the conditional trimmed mean of $Y$? </p> <p>(Least absolute deviations will lead to the extreme case of maximal trimming.)</p>...
g4859
[ 0.018446119502186775, -0.03113538771867752, -0.02692641131579876, -0.05797814577817917, 0.04788807034492493, -0.026532327756285667, -0.025170588865876198, 0.040360912680625916, 0.03986299782991409, -0.08004901558160782, 0.012409161776304245, -0.015816494822502136, 0.08057893812656403, 0.00...
<p>If $a\times b\times c=t$ and I change $a$, $b$, and $c$, how do I calculate the effect of each change.</p> <p>I believe the equation is: $(a+\Delta a)(b+\Delta b)(c+\Delta c)=(t+\Delta t)$, and then I solve for $\Delta a$, $\Delta b$, and $\Delta c$.</p> <p>Is this correct? And how do I describe what I'm solving f...
g65733
[ 0.0133273396641016, -0.023605583235621452, 0.0048809656873345375, 0.0004191324987914413, 0.05995940417051315, -0.026452768594026566, 0.05686803534626961, 0.05283544212579727, -0.05192432925105095, 0.006591407116502523, -0.05491826310753822, 0.05352228879928589, 0.01689297892153263, 0.04424...
<p>For normal-distributed interval/ratio data, we can apply linear mixed effect model for analysing longitudinal data, where each subject is measured multiple times. How about dichotomy (binomial) data?</p> <p>My experiment is as follows:</p> <p>There are two conditions A and B, and M is an interaction technique that...
g24440
[ 0.021783586591482162, -0.04575216770172119, -0.010964187793433666, -0.014265963807702065, -0.04075609892606735, -0.038587745279073715, 0.09001373499631882, -0.00772347254678607, -0.007924058474600315, -0.00951201468706131, 0.00787111185491085, -0.01727355271577835, 0.0008078727405518293, 0...
<p>I'm struggling to grasp the concept of bias in the context of linear regression analysis. </p> <ul> <li><p>What is the mathematical definition of bias?</p></li> <li><p>What exactly is biased and why/how?</p></li> <li><p>Illustrative example?</p></li> </ul>
g44554
[ 0.06740427762269974, -0.00722907530143857, -0.01693088747560978, -0.016898130998015404, 0.020244641229510307, 0.010233886539936066, -0.0028659224044531584, -0.0009801537962630391, -0.039736732840538025, -0.04035841301083565, -0.005112261977046728, 0.099102683365345, 0.04520539939403534, -0...
<p>I want to create an RF model, with about 100 weak variables and one very strong variable.</p> <p>The strong variable is a probability score, I do not have visibility on how it was derived. It may be using many of the variables I already have, and also some I do not have.</p> <p>If I create Random Forest, wouldn't ...
g65734
[ -0.030452309176325798, -0.034003447741270065, 0.0011357673211023211, -0.03489447012543678, -0.004797108005732298, -0.04224507883191109, -0.03274522349238396, 0.05581628903746605, 0.0030082084704190493, -0.02513056807219982, -0.008504734374582767, -0.03367806226015091, 0.04483595862984657, ...
<p>I apologize if this is too basic or whatnot, if it is just flag the question away.</p> <p>I have the following computer code situation:</p> <p>We need to insert 1000 <em>new</em> random numbers into a set. The set won't tolerate collisions, and each time we execute this job we need to add exactly 1000 random numbe...
g65735
[ -0.02349204383790493, 0.046400461345911026, -0.00899083074182272, -0.05842292308807373, -0.00514875166118145, 0.01125506404787302, 0.03790856525301933, -0.0014626790070906281, -0.0966402068734169, -0.03423776105046272, -0.009053296409547329, 0.039655573666095734, -0.020892519503831863, 0.0...
<p>I've searched a good bunch of literature but have failed to find an exact distinction between the two. My impression is that in the Machine Learning literature you'll find allusions to hierarchical Bayesian modeling, but in the Statistics literature you'll seldom find allusions to PGMs. Hopefully you guys will be ab...
g65736
[ 0.0579378567636013, 0.03285464644432068, 0.00850868783891201, -0.009084338322281837, -0.009675825946033001, -0.017915181815624237, 0.020761463791131973, 0.044827256351709366, -0.049407269805669785, -0.07143201678991318, -0.008324808441102505, -0.00283672078512609, 0.04813678190112114, 0.02...
<p>This might be a basic question, but I have no clue what this descriptive method could be named. Simplified, I have a cross-table with Occupations (e.g., doctor, lawyer, engineer) as rows, and Hobbies (e.g., sports, reading, gardening) as columns. Cell values are integer occurrences of the corresponding OH combinatio...
g24445
[ 0.04100688919425011, 0.03657156229019165, -0.013164925388991833, -0.0045302631333470345, -0.016656585037708282, -0.03259684517979622, 0.037664350122213364, -0.03279760852456093, 0.001024178578518331, 0.008610351011157036, -0.0010392223484814167, 0.009667870588600636, 0.12551937997341156, -...
<p>can I do my statistics work based on the central limit theorem? I need to perform a t-test, ANOVA and multiple regression. my outcome variable is highly not normally distributed (Highly positively skewed) and my sample size N=115. I'd like to keep the non-parametric tests as a last option for me.</p>
g65737
[ -0.02573646418750286, 0.01294724177569151, -0.005523887928575277, 0.03314455971121788, -0.0211836826056242, 0.008067856542766094, -0.007064673118293285, 0.04132858291268349, -0.02191208489239216, -0.0026363995857536793, -0.012276103720068932, -0.043488871306180954, -0.028204331174492836, -...
<p>wage=b0+b1exper+b2exper^2+other variables </p> <p>How can I find the marginal effect of experience on wage? I thought it was just the derivative: b1+2b2, but, for example, if I try plugging in numbers that are different by one year (experience 10 years => experience 11 years), that doesn't seem to be right:</p> <...
g24446
[ -0.009946292266249657, 0.019135605543851852, -0.0037565475795418024, -0.02471756376326084, 0.03000926598906517, -0.0036150908563286066, 0.061943624168634415, 0.03049582988023758, -0.06140729784965515, -0.013890780508518219, -0.011649766936898232, 0.04793782904744148, -0.007744669448584318, ...
<p>If you take a random and uniformly continuous number that is generated by the sum of $x1+x2$ (so $y=x1+x2$), the probability $P(0.9&lt;y&lt;=1.8)$ the calculated results are:</p> <p>$y$~$u(0,1) = 0.575$</p> <p>$y$~$exp(2) = 0.3371$</p> <p>$x1~u(0,1)$ $x2~u(0,2)$</p> <p>$P(y=0.25)=0.8$ $P(y=1.5)=0.2 = 0.2$</p> ...
g24447
[ 0.008051577024161816, -0.0007987776771187782, -0.00027075165417045355, -0.04344397410750389, 0.009995833970606327, 0.03164288029074669, 0.00437275180593133, -0.025493532419204712, -0.03803642839193344, 0.0037912260740995407, -0.012614229694008827, 0.02993430383503437, -0.0018034531967714429,...
<p>A linear model has t-distributed noise $$ Y= bX + \epsilon $$ where $\epsilon \sim t(0, \sigma^2, df)$, with mean 0, variance $\sigma^2$ and dof $df$.</p> <p>Given an independent sample $(x_i, y_i), i=1, \dots, n$, suppose we already have estimates of $b, \sigma^2, df$. How would you estimate a $1-\alpha$ predictio...
g741
[ -0.006381366401910782, -0.034072473645210266, -0.036396753042936325, 0.008188730105757713, 0.019054146483540535, -0.028235310688614845, 0.004146979656070471, 0.016298385336995125, -0.023532135412096977, -0.004321381915360689, -0.03177383169531822, 0.053985096514225006, 0.01074755284935236, ...
<p>Dear CrossValidated community,</p> <p>Can anyone help me to prove the bias in a given parameter of a regression when there is omitted variable?</p> <p>I know to do it using matrices and matrix algebra. For instance, consider the true equation:</p> <pre><code>Y = BX + dZ + e </code></pre> <p>Where X is the matrix...
g24448
[ 0.0548645444214344, -0.03354724124073982, -0.019345898181200027, -0.007965079508721828, 0.047007642686367035, -0.02678059972822666, 0.08556865900754929, 0.031220046803355217, -0.007407124619930983, 0.0889379233121872, -0.007444340735673904, 0.10641665011644363, -0.02009875699877739, 0.0253...
<p>I am trying to analyze some data and wondering if I have the right approach.</p> <p>Each subject viewed seven messages. The outcome variable is acceptance of the message. We want to see if acceptance of messages is related to emotional response and some other variables. Messages were viewed in random order.</p> <p...
g65738
[ -0.02070135809481144, -0.06322654336690903, -0.0026365576777607203, -0.07345901429653168, -0.0125640369951725, 0.004195902496576309, 0.03228754550218582, -0.031128743663430214, -0.007050905842334032, -0.07037650793790817, -0.004244014620780945, -0.03969964385032654, 0.005425265524536371, 0...