question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>As far as I can tell this question has never been asked before. There are several questions that touch on related issues, but as far as I can see none of them have provided a definitive answer to this question. Furthermore, in at least one case the most upvoted and second most upvoted answer have implicitly disagree...
g63429
[ 0.014731299132108688, 0.04563936963677406, 0.019733913242816925, 0.02754105068743229, -0.005856682546436787, 0.018445756286382675, 0.020489487797021866, 0.04281127452850342, 0.013783572241663933, -0.01431279443204403, 0.03388774022459984, -0.0071106054820120335, 0.026647169142961502, 0.005...
<p>I am interested to know if we have 3 dependent variables, and 2 independent variables, online and face to face, with 2 levels each, as in the example below. The sample size is 30 for each mode of study - 30 participants for online mode and 30 for face to face.</p> <ol> <li>What type of ANOVA do we need to conduct?<...
g21094
[ -0.045529577881097794, -0.005216079298406839, -0.008240017108619213, -0.018506620079278946, -0.05016958341002464, 0.04863855242729187, 0.04751463606953621, -0.027525106444954872, -0.042552344501018524, 0.014373250305652618, -0.051613133400678635, -0.010144486092031002, 0.038978077471256256, ...
<p>I am a student and am new to statistical market research.</p> <p>Is it possible to analyze the dependence of answers to one Likert-type item on answers to another Likert item (predictor)? If so, what test can I use?</p> <p>I am doing an analysis of how much attachment/affinity (dependent Likert item) of consumers ...
g63430
[ -0.015501013956964016, -0.0030366580467671156, 0.012825245968997478, -0.030835431069135666, -0.031426314264535904, -0.02190685272216797, 0.03413936123251915, 0.0003504331689327955, 0.002248156350106001, 0.0011419422226026654, 0.024098707363009453, 0.010956686921417713, 0.030097173526883125, ...
<p>In meteorology we have the concept of monthly rainfall, which is just the sum of daily rainfall over that month. Now, given this extreme example:</p> <h3>Situation 1:</h3> <pre><code>First day of month: 210mm All remaining days: 0mm Monthly rainfall = 210 + 0 + ... + 0 = 210mm </code></pre> <h3>Situation 2:</h3>...
g63431
[ 0.02627808041870594, -0.03911260887980461, -0.02119903638958931, -0.0714319571852684, -0.04017895832657814, -0.008225919678807259, 0.02618436887860298, -0.012031150981783867, -0.00027992483228445053, -0.025676853954792023, 0.05895460024476051, -0.012392022646963596, 0.05413677915930748, -0...
<p>I have a dataset of approximately 100 objects. For each object, I have made measurements and have a handful of values (typically less than 10). </p> <p>I also know several physical properties of my objects. My dataset is arranged thusly: <em>(arbitrary numbers)</em></p> <pre><code> Measurement1 Measureme...
g63432
[ 0.004374172072857618, -0.020672397688031197, -0.02002405747771263, -0.08495497703552246, 0.0047068363055586815, -0.014229106716811657, 0.018240755423903465, 0.0139012997969985, -0.01500805001705885, -0.0597970224916935, -0.012529606930911541, 0.0053839064203202724, 0.06891679763793945, 0.0...
<p>Is there any particular reason you will choose the kernel density estimation over the parametric estimation? I was learning to fit distribution to my data. This question came to me. </p> <p>My data size is relavtively large with 7500 data points. Auto claims. My goal is to fit it to a distribution(nonparametric or ...
g42742
[ 0.06920437514781952, 0.02571072429418564, 0.001629974809475243, -0.008443044498562813, -0.061388079077005386, 0.0011828129645437002, 0.005442091263830662, -0.002501864917576313, -0.05894618481397629, -0.015835383906960487, 0.04123632237315178, -0.019850341603159904, 0.08883875608444214, -0...
<p>I think that a formulation of SVM for points x with label y is :</p> <p>$$ \begin{align} \arg\min_{\substack{u,w,b}} \frac{1}{2} \cdot |w|^2 + C \cdot \sum_{i} u_i \\ s.t.\ \ y_i\cdot (w \cdot x_i + b) &amp;\geq 1-u_i \\\\ u_i \geq 0 \\ \end{align} $$</p> <p>In that formulation, if we take C = 0, what pre...
g38436
[ -0.022480009123682976, 0.025098899379372597, -0.008414407260715961, 0.024591553956270218, -0.006494505796581507, 0.02326892875134945, 0.015442686155438423, 0.013453762046992779, -0.03500444442033768, 0.036777693778276443, -0.028612393885850906, 0.03414313495159149, 0.007745885755866766, 0....
<p>I’m working on a classification system which consists of an auto-encoder for feature learning and logistic regression for classification. The system has five hyper-parameters as enumerated below.</p> <ol> <li>Number of features it's learning via auto-encoder</li> <li>Weight decaying parameter of the auto-encoder</l...
g63433
[ 0.040148213505744934, 0.03539607301354408, 0.006783210206776857, -0.014849417842924595, 0.04565491899847984, -0.04329501464962959, -0.02142142876982689, 0.005822574254125357, -0.07987593859434128, 0.014572503045201302, -0.07670391350984573, 0.057147953659296036, 0.03970543295145035, 0.0764...
<p>I have a PDF (Probability Density Function) generated from a vector of 1,000,000 empirical values. This empirical PDF is heavily skewed to the right.</p> <p>In this form, I can't make accurate predictions using a linear regression.</p> <p>To fix this, is there some method to find the function F(x) to transform (i....
g361
[ 0.0024474593810737133, -0.05944525822997093, 0.006103565916419029, -0.024884574115276337, -0.04281328245997429, -0.0004691426001954824, -0.022064758464694023, 0.03281182423233986, -0.06368790566921234, -0.02342546172440052, 0.009278194047510624, 0.009619753807783127, 0.039547983556985855, ...
<p>I am learning the SVM classification and especially interested in applying to medical data. Now, I encounter a problem and do not know if this dilemma has a terminology for it. </p> <p>Assume that there are samples of healthy people ( of both gender) and people with liver cancer ( of both gender). If we label h...
g40212
[ 0.02478002943098545, -0.014017309993505478, 0.027695855125784874, -0.03321700915694237, -0.0012086472706869245, 0.0042996578849852085, -0.02495228871703148, -0.002335952129215002, -0.04575930908322334, 0.027454683557152748, 0.028062772005796432, 0.041133686900138855, 0.0555829219520092, 0....
<p>Suppose I want to turn statistical significance of 0.05 into a z-score of ~1.64</p> <p>Can I use a normal distribution to convert these?</p>
g63434
[ -0.023562736809253693, -0.005676346831023693, 0.010306257754564285, -0.029314633458852768, -0.0026133342180401087, -0.038617026060819626, 0.04809850454330444, 0.05865002050995827, -0.0049055288545787334, -0.00829869695007801, -0.0024188237730413675, 0.0015875857789069414, -0.0063609736971557...
<p>I am having difficulty understanding nested effects. Suppose 20 people each are assigned to treatment groups A B C and D. Would it be correct to say that Person is nested within treatment group? So for example, for each subject within each treatment group, each subject underwent 10 trials and for each trial, his hea...
g63435
[ 0.011711321771144867, 0.015078919939696789, -0.011540497653186321, 0.00862790085375309, 0.047742389142513275, -0.04425057768821716, 0.00032773989369161427, 0.033206917345523834, -0.009945872239768505, -0.03228546679019928, -0.03505672886967659, 0.03268839046359062, 0.001204281346872449, -0...
<p>I understand deriving a covariance matrix from phylogenetic data to make $cov(X,Y) = 0$ for two variables you're making a regression on. But what happens if you have one continuous variable, that you've previously shown to be dependent on phylogeny, and one ordinal variable? The latter being ordinal, I'm not sure ho...
g63436
[ 0.0489068329334259, -0.057205136865377426, -0.025838688015937805, -0.037403833121061325, -0.017516568303108215, -0.0015953979454934597, 0.008759086951613426, 0.024624427780508995, -0.03718661144375801, 0.018605250865221024, -0.021012315526604652, -0.002241943497210741, -0.010232111439108849,...
<p>Let's say I have to make a multiple regression like:</p> <p>$ Y_i = \beta_0 + \beta_1 x_i + \beta_2 w_i + ... +\beta_3 z_i + \epsilon_i $</p> <p>Then I run a Ramsey RESET test upon it and discover that my linear specification is not good. What is the best way to cope with non-linearity? I know that I could specify...
g63437
[ -0.013433091342449188, 0.022909361869096756, -0.016192283481359482, 0.0031710362527519464, 0.021702496334910393, -0.07401783019304276, 0.010648065246641636, 0.0011328227119520307, -0.06568434089422226, 0.031590864062309265, 0.004706164821982384, 0.034159522503614426, 0.03645484894514084, -...
<p>Given <strong>n</strong> random variables <strong>x1,...,xn</strong> (one-dimensional). The following is known (corr() = Pearson correlation):</p> <pre><code>corr(x1,x2) = a corr(x2,x3) = a </code></pre> <p>The actual values of the random variables are unkown though. Only some of their correlations are known.</p>...
g21104
[ -0.01909611001610756, -0.0344143807888031, -0.006828892510384321, -0.07742072641849518, 0.015814246609807014, -0.026720931753516197, -0.0009958588052541018, -0.005671800579875708, -0.04791494831442833, 0.007976243272423744, -0.032722290605306625, 0.023027101531624794, -0.008005990646779537, ...
<p>I am trying to implement the sparse PCA algorithm in scikit-learn, and it is giving me the following user warning:</p> <pre><code> UserWarning: Regressors in active set degenerate. Dropping a regressor, after 1 iterations, i.e. alpha=1.836e-05, with an active set of 1 regressors, and the smallest cholesky pivot e...
g21105
[ 0.022605566307902336, -0.0758390799164772, -0.016207590699195862, -0.009661376476287842, 0.07583930343389511, -0.035657159984111786, 0.08839014172554016, -0.0029894784092903137, -0.013322371058166027, -0.025080334395170212, -0.001186147565022111, 0.02545905113220215, -0.004293528385460377, ...
<p>I am running simulations and I need to run a Cox model with a certain baseline hazard. The data are generated with a constant baseline hazard $A$ and I need to run coxph using this data but instead of estimating baseline hazard using Breslow formula, I need R to use baseline hazard=$B$). Is there a way to do it?</p>
g21106
[ 0.003162176115438342, -0.05232308804988861, 0.005095547065138817, -0.027071315795183182, 0.019478997215628624, -0.0039367382414639, -0.031084900721907616, 0.012704423628747463, -0.05720994994044304, -0.013039755634963512, 0.0348641574382782, 0.06525664776563644, 0.008654304780066013, -0.00...
<p>I've seen a <a href="https://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;cad=rja&amp;ved=0CDEQFjAA&amp;url=http://repositorium.uni-osnabrueck.de/bitstream/urn%3anbn%3ade%3agbv:700-2008112111/2/E-Diss839_thesis.pdf&amp;ei=RCm6UYW9CIeCjAKunIGYDw&amp;usg=AFQjCNHTNmf0AAetC8N4hgJFErKcK...
g63438
[ 0.022687086835503578, -0.01498283352702856, 0.022290466353297234, -0.0028542077634483576, -0.008030935190618038, -0.12006229907274246, 0.046851370483636856, 0.06806574761867523, -0.0027531085070222616, 0.012122353538870811, 0.0077949934639036655, 0.028742538765072823, -0.032559219747781754, ...
<p>I have a data set that is imbalanced and would like to weight the samples to compensate, however I can't find code to implement this in R though I believe there is a feature in the <code>randomForest</code> package to do this.</p> <p>Here's a sample dataset :</p> <pre><code>id buy=1/noBuy=0 timeOnSite(sec....
g40404
[ 0.0017473797779530287, -0.038649190217256546, -0.0001730608200887218, -0.08613241463899612, 0.005227455869317055, -0.027923688292503357, 0.010480186901986599, 0.006627266760915518, -0.027204124256968498, -0.021946288645267487, 0.006425009574741125, 0.011554467491805553, 0.013679871335625648,...
<p>I hope to apply a Survival Model framework to a problem, but I'm not sure that I have sufficient data.</p> <p>My data are from a repeated series of surveys, where sampled respondents are asked if an event has occurred. My problem is, while I know the precise time at which each respondent's spell <em>starts</em>, th...
g63439
[ -0.00772501714527607, -0.008670100010931492, 0.0051332563161849976, -0.01497544627636671, -0.007012863643467426, -0.027979480102658272, -0.009629418142139912, 0.01696065254509449, -0.0019897762686014175, 0.059381745755672455, -0.032094553112983704, -0.0029342786874622107, -0.0025646470021456...
<p>From <a href="http://onlinelibrary.wiley.com/doi/10.1002/0471667196.ess1595/abstract" rel="nofollow">Encyclopedia of Statistical Sciences</a> I understand that given $p$ dichotomous (binary: 1=present; 0=absent) attributes (variables), we can form a contingency table for any two objects <em>i</em> and <em>j</em> of ...
g63440
[ 0.04442211985588074, -0.06390726566314697, 0.0014347301330417395, -0.036770690232515335, 0.03805791586637497, 0.005335387773811817, 0.0793442651629448, 0.0379667691886425, -0.04228775575757027, -0.02419082261621952, -0.021141061559319496, 0.030887002125382423, 0.07814203202724457, 0.010599...
<p>I am trying to analyze some prevalence data and estimate the effect on prevalence of some health condition of an intervention that was introduced at some time point. The data concern a number of clusters and I have summary data (number of diseased and cluster sizes) for each cluster, at each discrete time point. The...
g63441
[ -0.010615412145853043, -0.028095288202166557, 0.023563629016280174, -0.04475250467658043, -0.010010543279349804, -0.04166552424430847, 0.014037823304533958, 0.040626078844070435, 0.021562937647104263, -0.023713257163763046, 0.026974553242325783, 0.03359545022249222, 0.0398363322019577, 0.0...
<p>My colleagues and I are looking for guidance on how we might compute a common effect size (ES) from the following measures of association:</p> <ul> <li>Pearson's r</li> <li>Spearman's rho</li> <li>Kappa</li> <li>ICC / intraclass correlation</li> <li>Yule's q</li> </ul> <p>All garnered from completely different set...
g63442
[ 0.009135091677308083, -0.01466672308743, -0.028415972366929054, -0.055556878447532654, -0.003374870866537094, -0.0018715192563831806, 0.05506579577922821, 0.062468886375427246, -0.04297535866498947, -0.0026075777132064104, 0.04093167930841446, 0.007412990089505911, 0.06229749694466591, 0.0...
<p>I'm using R to compute robust multiple linear regression. I use the command <code>rlm</code> from the package MASS.</p> <p>As psi function I use <code>psi.huber</code> or <code>psi.bisquare</code>.</p> <p>Is there a way to get an estimator of the goodness of fit of the model? Maybe something comparable to the Adju...
g63443
[ 0.031273823231458664, -0.05810293182730675, -0.012394536286592484, 0.053549669682979584, 0.00783766433596611, -0.030974283814430237, 0.009035090915858746, 0.07054264098405838, -0.06846573203802109, -0.00884514581412077, -0.008024745620787144, -0.029465144500136375, 0.006933986209332943, -0...
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stats.stackexchange.com/questions/25605/why-anova-regression-results-change-when-controlling-for-another-variable">Why ANOVA/Regression results change when controlling for another variable</a> </p> </blockquote> <p>I have used SPSS to run ...
g49674
[ 0.006025332026183605, -0.06677238643169403, 0.009911583736538887, -0.02514193393290043, 0.02431434579193592, -0.0015412375796586275, -0.001212873263284564, 0.04069884493947029, -0.0021279335487633944, -0.027083154767751694, 0.01256188377737999, 0.0519418902695179, 0.03871915116906166, 0.02...
<p>I am trying to do text classification using Naive Bayes. Before training, I would like to make feature selection in order to reduce the feature space dimension. In order to do so, I have thought of using a method that weights 2 filters for scoring the features and then select the top K features.</p> <p>For example,...
g63444
[ 0.04755081236362457, -0.006678434554487467, 0.021698834374547005, 0.02326730638742447, -0.01952757127583027, -0.046247635036706924, -0.01090087741613388, 0.003887311788275838, -0.09203591197729111, -0.015320210717618465, 0.03233514353632927, 0.023236947134137154, 0.06913116574287415, 0.052...
<p>If I have two positive real numbers that can take on any value between 0 and some finite real number, how do I normalized the difference between these two numbers to [0,1] interval where 0 indicates no similarity and 1 indicates that these two numbers are the same?</p> <p>Thank you in advance. </p>
g49598
[ 0.023394105955958366, -0.028925208374857903, -0.021212773397564888, 0.0007839581230655313, 0.004424750804901123, 0.03068724274635315, 0.009025635197758675, 0.059667252004146576, -0.030511250719428062, -0.05088365077972412, -0.044526148587465286, 0.020382152870297432, -0.006936921272426844, ...
<p>I decided to use RFE using the caret package for feature selection for a logistic regression model.</p> <p>The documentation says the Varimp for linear model uses </p> <p>the absolute value of the t-statistic for each model parameter is used.</p> <p>Logistic regression is not a linear model or has any of the line...
g21113
[ 0.01690971665084362, -0.08657068014144897, 0.030552318319678307, -0.006077201571315527, 0.050538115203380585, -0.018445320427417755, 0.03290930017828941, -0.005163286812603474, -0.05768167972564697, -0.0034751910716295242, -0.01589767262339592, 0.021676622331142426, 0.04062594100832939, 0....
<p>I have got two wind datasets (one for 4 months and the other one for 12 years). Typically wind speed distributions follow Weibull distributions. In order to demonstrate my data distribution in a statistically sound manner, I ran goodness of fit test in Minitab. However, all p-values of 16 distributions including Wei...
g63445
[ 0.05031309649348259, -0.038604408502578735, 0.004329055547714233, -0.008530043065547943, 0.0028924739453941584, 0.04426325112581253, -0.027816452085971832, 0.018987488001585007, -0.010244449600577354, -0.02395268715918064, -0.02847703918814659, -0.012906217016279697, 0.016130972653627396, ...
<p>I have a bunch of data that's both positive and negative. Its calculated from the residuals of an ANOVA (i.e. specific leaf area calculated as the residuals of an ANOVA of leaf area with leaf blade weight). Right now the data is not homoscedastic or normal. Since I can't log negative numbers I'm unsure of how to mak...
g4263
[ -0.010076099075376987, -0.07617314904928207, -0.016629287973046303, -0.008916785009205341, -0.09161148965358734, 0.023829398676753044, 0.01852499693632126, -0.0007587123545818031, -0.07534381002187729, -0.0002265146467834711, 0.00123084825463593, 0.06606144458055496, 0.07848171144723892, -...
<p>Imagine an experiment where you roll two fair, six-sided dice. Someone peeks at the dice, and (truthfully) tells you that "at least one of the dice is a 4". What is the probability that the total of the dice is 7?</p> <p>It seems straightforward to calculate that the probability the total is 7 is 2/11.</p> <p>Howe...
g21115
[ 0.012161694467067719, 0.033523865044116974, 0.03230978175997734, -0.019091062247753143, -0.003313619177788496, -0.01619958132505417, 0.06689351052045822, 0.009557398967444897, -0.012683381326496601, -0.013446018099784851, 0.0425519235432148, -0.027361875399947166, 0.01899019628763199, 0.02...
<p>I know that this issue was already discussed here but I faced with the problem I can't solve. I have list of persons, each represented with some time series consisting from 4-8 points. I want to approximate them all with the function $y=a\cdot x^2\cdot exp(-bx)+c$. Thus for each person I am going to find his own "a"...
g21116
[ 0.003036702750250697, -0.015412509441375732, -0.030629776418209076, -0.024918727576732635, 0.04679344594478607, -0.004759511444717646, 0.024839354678988457, -0.03218397870659828, -0.061420682817697525, 0.045418012887239456, -0.09399165213108063, 0.03088992089033127, 0.04468429461121559, 0....
<p>I am learning Machine Learning (Linear Regression) from <a href="https://www.coursera.org/course/ml" rel="nofollow">Prof. Andrew Ng's lecture</a>. While listening when to use normal equation vs gradient descent, he says when our features number is very high (like $10^6$) then to use gradient descent. </p> <p>Everyt...
g14236
[ 0.019266445189714432, 0.023559147492051125, -0.008856897242367268, 0.010309598408639431, 0.038437508046627045, -0.042916931211948395, 0.06501495093107224, 0.05134366825222969, -0.08795399963855743, -0.0032711289823055267, -0.016956984996795654, 0.030169477686285973, 0.1038556694984436, 0.0...
<p>I am implementing an EEG classifier with 15 subjects (patients), specifically a support vector machine classifier.</p> <p>I randomly choose the training and testing sets, but I was faced by a question "how did you choose subjects in each set?". I looked for the response but I couldn't find a good one (cross validat...
g21118
[ -0.014720025472342968, 0.011301412247121334, 0.015056060627102852, -0.06070194020867348, 0.0088513707742095, -0.001263714861124754, 0.05155307054519653, -0.0017540957778692245, -0.013156603090465069, -0.018531018868088722, 0.002464147750288248, 0.02693762443959713, 0.0009931138483807445, 0...
<p>I am doing an analysis where I am using one data set of 12 rows (Mold), and running a linear regression analysis on this data set to generate two different linear regression equations. </p> <p>From there I use these 2 linear regression equations to predict 2 values (EDGgm, EDGww) on a different data set (Box). Then...
g63446
[ -0.016711285337805748, -0.070298932492733, -0.018022749572992325, 0.010337951593101025, 0.003095540450885892, -0.028165945783257484, 0.05635543167591095, 0.03709150105714798, -0.01932509057223797, -0.0502747967839241, 0.009713164530694485, 0.054781198501586914, 0.07271242141723633, 0.02044...
<p>This problem is about maximum likelihood estimation. Let $f\left(x;\theta\right)$ be a parametric density function with unknown parameter $\theta$, and denote $\theta_{0}$ the true value. By Jensen's inequality, we have $E_{0}\left\{ \log f\left(x;\theta\right)-\log f\left(x;\theta_{0}\right)\right\} \leq0$, where $...
g63447
[ 0.01876765675842762, 0.020830340683460236, -0.017359493300318718, -0.00729298684746027, 0.01284877024590969, -0.001580377807840705, 0.02739487960934639, 0.02517353929579258, -0.056991640478372574, 0.013173524290323257, -0.06704097241163254, -0.015636418014764786, 0.04268467053771019, 0.003...
<p>I'm interested in references for running empirical Bayes (EB) in conjunction with MCMC. The closest thing I've found to what I'm looking at is a surprisingly recent and somewhat obscure paper <a href="http://www.stat.lsa.umich.edu/~yvesa/EB.pdf" rel="nofollow">available here</a>, and seems to suggest an improved ver...
g63448
[ 0.02752574533224106, 0.012210800312459469, 0.01705078035593033, -0.0347859188914299, -0.018104664981365204, -0.04906255751848221, 0.012645450420677662, -0.00417328579351306, -0.04871330037713051, 0.014026913791894913, 0.020066646859049797, 0.015993280336260796, 0.08901910483837128, 0.04303...
<p>If my variables all take on integer values between 0 and 10, where 0 represents dissatisfied and 10 is very satisfied, would this mean my variables are categorical?</p>
g63449
[ -0.013149414211511612, 0.027468610554933548, -0.039665091782808304, -0.049099426716566086, 0.006793455220758915, -0.048225630074739456, -0.06778986752033234, 0.0031049016397446394, -0.03939206525683403, 0.00996480230242014, -0.06464044749736786, 0.03590436279773712, -0.017079761251807213, ...
<p>I am trying to investigate the following problem using multinomial likelihoods and could really do with some advice regarding its appropriateness and implementation in R.</p> <p>A sequence is generated by selecting with replacement from a bag of n differently coloured balls and consists of the number of occurrences...
g21122
[ -0.0016661541303619742, -0.043718185275793076, 0.036076538264751434, -0.026308489963412285, -0.02188745141029358, -0.038626547902822495, 0.0021537961438298225, 0.02549952082335949, -0.007806133478879929, 0.047398507595062256, -0.03381364420056343, -0.05188547447323799, -0.005496823228895664,...
<p>I am trying to formally compare the distribution of the likelihood values generated using two different models with marginal posterior values of the parameters obtained using MCMC in order to assess whether one model is good enough approximation to the other one. Both models have the same number of parameters, the...
g21125
[ 0.015277700498700142, -0.04384249821305275, 0.02875675819814205, -0.0750989019870758, -0.028838906437158585, -0.039457570761442184, -0.011595012620091438, -0.014384612441062927, -0.05871555954217911, -0.019290301948785782, 0.025247368961572647, 0.02899499423801899, 0.026359761133790016, 0....
<p>When you do a Principal Component Analysis (PCA), your dataset generally looks like the following one:</p> <pre><code>Country Var1 Var2 Var3 A 2 18 23 B 3 16 28 C 1 19 33 </code></pre> <p>But what happens, when you have more than one observati...
g21126
[ -0.023559439927339554, -0.013379674404859543, -0.007426589261740446, -0.06159460172057152, 0.04456748813390732, -0.03216235339641571, 0.0972786545753479, 0.026065506041049957, -0.028445426374673843, -0.007036030758172274, -0.008009416051208973, 0.055673930794000626, -0.0068908678367733955, ...
<p>I use some insurance quote data with demographic data as variables and the target is binary (0,1). The total observations is around 50,000 and the variables are around 60. The demographic data is based on zip code(not individual), so I divided them by total population in that region. So the demographic data is betwe...
g24901
[ -0.018908562138676643, -0.04450612515211105, -0.0009485017508268356, -0.06452798843383789, 0.004407467320561409, 0.021195465698838234, -0.01236036792397499, 0.03309853374958038, -0.017640233039855957, -0.05062088742852211, 0.024903541430830956, 0.02277846820652485, 0.022926613688468933, -0...
<p>How can I say better for a MCMC in terms of speed? I'm confused with several measures of speed of convergence. I know some people compute the second largest eigenvalue of transition probability matrix. Some compare autocorrelation coefficients. And some others calculate relaxation time.</p> <p>Is there a well accep...
g63450
[ 0.04561107978224754, 0.008755595423281193, 0.022794494405388832, -0.04057883843779564, -0.005136562045663595, -0.07733511179685593, 0.06997790932655334, 0.01861037127673626, -0.030342543497681618, 0.006485807243734598, 0.022710800170898438, 0.01962326467037201, 0.06546451151371002, 0.05742...
<p>I need to do a 12 month rolling crime rate. I have monthly crime counts and population counts every 3 months.</p> <p>For a calendar year I would usually use a population from mid-year as the denominator and the crime rate for the year as the numerator and then standardise using, say, 100,000. (i.e. crime count / po...
g63451
[ 0.06049157679080963, -0.00728612020611763, -0.003556672250851989, -0.023763053119182587, -0.009346731938421726, -0.008899982087314129, 0.02004515752196312, 0.05486180633306503, 0.026160800829529762, 0.01647418551146984, 0.05271795764565468, -0.022419672459363937, 0.04708781838417053, -0.01...
<p>A while back I asked a question about <a href="http://stats.stackexchange.com/questions/17462/correlating-time-stamps">correlating times between time stamps</a> and <a href="http://stats.stackexchange.com/a/22333/7482">received a response</a> from Peter Ellis that said I could calculate mean distances between codes....
g21128
[ 0.01794538088142872, -0.02456124685704708, 0.013399994932115078, -0.07659558951854706, -0.010749525390565395, -0.048252228647470474, 0.02979724295437336, 0.0007346919155679643, -0.005065541248768568, -0.03690938279032707, 0.006686622742563486, 0.017832240089774132, 0.06183034926652908, 0.0...
<p>I have three estimates for $\alpha$, $\beta$ and $\gamma$ (let's call them $\hat\alpha$, $\hat\beta$ and $\hat\gamma$). I also have the variances of each estimate, and their covariances.</p> <p>I want to do a multiple hypothesis test where the null is that $\alpha=1$ and $\beta=1$ and $\gamma=1$. What is the formul...
g63452
[ 0.015170454047620296, -0.04725164175033569, -0.02360738255083561, -0.017239922657608986, 0.012282476760447025, -0.0016272938810288906, -0.00246132118627429, -0.0000845691974973306, -0.054739393293857574, -0.03192625567317009, -0.030137252062559128, 0.021582206711173058, -0.0164159145206213, ...
<p>For a project I need to build a model that can predict batch processing time for the steps in a manufacturing process that are performed on a specific tool type. I know that the processing time is a function of the batch size (number of individual pieces of product loaded into the equipment at once) and the step in ...
g21129
[ 0.01239621639251709, -0.058413807302713394, -0.00675279600545764, 0.005397485103458166, 0.0013240132248029113, -0.01164671964943409, 0.06289505958557129, 0.008279126137495041, -0.049644872546195984, -0.02935766987502575, -0.030178239569067955, 0.018330050632357597, 0.022999150678515434, 0....
<p>What are the considerations that we need to take into account if we need to transform just the explanatory variables (not the dependent variable). I have data on assets and liabilities and I need to use assets-liabilities or net worth as the explanatory variable. I can't use logarithm because net worth can be negati...
g63453
[ 0.048288844525814056, 0.0035614718217402697, -0.014598648995161057, -0.04435334354639053, 0.004527626559138298, 0.014315638691186905, 0.007690625265240669, 0.01770089566707611, -0.07236593216657639, 0.015042503364384174, -0.0615188367664814, 0.02247452922165394, 0.04970325157046318, 0.0158...
<p>If My data for a logistic regression analysis came from different surveys, is it still random? For example, modeling whether a person chose finance as their major. Can I take data from a survey that just focused on the characteristics of finance majors (1) and combine it to surveys made just focused on the combined ...
g21130
[ -0.002258937107399106, 0.005364058073610067, 0.029130244627594948, -0.0007227209862321615, 0.0022985124960541725, 0.016966158524155617, 0.005705866497009993, -0.04618511348962784, 0.023308854550123215, -0.04634669050574303, 0.03339845687150955, 0.0064208232797682285, 0.01994442567229271, -...
<p>Suppose $X$ is distributed $N(\mu, \sigma^2)$ where $\mu \neq 0$.<br> Can I use the Delta Method to say that $log(X)$ ~ $N(log(\mu), \sigma^2/\mu^2)$?</p>
g63454
[ 0.013275963254272938, -0.02633240446448326, 0.0004917114856652915, -0.022508345544338226, 0.003020091215148568, -0.021800348535180092, 0.0012686816044151783, -0.027163449674844742, -0.06073910742998123, -0.027699526399374008, -0.0353795662522316, 0.05527303367853165, 0.03147215396165848, 0...
<p>If I do a Bayesian mcmc search with a flat prior such as uniform distribution with very large lower and upper limits, then multiplying the likelihood by the prior equates to simply multiplying the likelihood by a constant, and there is no reason to leave the constant/prior in the model. In such a case, it would see...
g63455
[ 0.01377866044640541, -0.018932171165943146, 0.03468998521566391, -0.054753921926021576, -0.06513028591871262, 0.024121606722474098, -0.01059457566589117, 0.025097351521253586, -0.01933746039867401, -0.03740297630429268, 0.0018823308637365699, -0.0032094642519950867, 0.009050336666405201, 0...
<p>I'm trying to fit a gumbel distribution to the following dataset using the VGAM function.</p> <pre><code>1 5273101 14729731 1061376 449451 16 554221 96306 21716 1013682 34720 </code></pre> <p>In doing so I recieve the following error:</p> <blockquote> <p>In checkwz(wz, M = M, trace = trace, wzepsilon = control$...
g38611
[ 0.058805912733078, -0.009643028490245342, 0.021304482594132423, -0.04054225981235504, -0.0010238359682261944, -0.01828806847333908, 0.049548666924238205, 0.013272670097649097, -0.007645877078175545, -0.0071777235716581345, 0.006290890742093325, 0.01680966652929783, 0.02232637070119381, -0....
<p>I would like to create a function to determine annual chance of flooding given a specific ground elevation. The data I have available to me are water surface elevations at 5 specific recurrence intervals <code>(10yr, 25yr, 50yr, 100yr, and 500yr)</code>. My initial approach was to run a linear regression using a l...
g21132
[ 0.028568033128976822, -0.026737645268440247, -0.004100045654922724, -0.04405946284532547, -0.0575832724571228, 0.0008581422735005617, 0.0704445019364357, 0.01608024165034294, -0.07814007997512817, -0.04501601308584213, -0.011716404929757118, 0.04511202499270439, 0.04802103713154793, -0.026...
<p>I've been reading "A primer of multivariate statistics" by Richard J. Harris, page 546, which shows how to derive the Hotelling $T^2$ statistic, after seeing <a href="http://stats.stackexchange.com/questions/43968/hotelling-t2-test-derivation-question">this related but different question</a> (I have the degrees of f...
g202
[ 0.0017685819184407592, 0.014526979997754097, -0.013546311296522617, 0.01019459031522274, -0.04245505481958389, -0.05771567299962044, 0.027761023491621017, 0.04994277283549309, -0.028926584869623184, 0.009553427807986736, -0.029041050001978874, 0.04141034930944443, 0.0255918987095356, 0.018...
<p>I am working with a binary predictive model for data that belongs to A and B. The learning sample that I am using contains 6000 row that belongs to group A and 1000 row that belongs to group B. I would like to make my learning sample equal in number for both variables (i.e. 1000 row that belongs to A and 1000 row th...
g26361
[ 0.011682678014039993, -0.031074361875653267, 0.0422457791864872, -0.06301704794168472, 0.012715373188257217, -0.03423991799354553, -0.010312460362911224, 0.023079365491867065, -0.017236556857824326, 0.019921278581023216, 0.07469716668128967, 0.017635593190789223, 0.020720399916172028, 0.02...
<p>I have time series data with multiple instances. For example, instances like (<code>0.36,0.35,0.32,0.31,0.31,0.30,0.30,0.28,0.30</code>) occur 20 times ($20\times 9$ array). I am wondering how to do variance stabilization with boxcox transformation. Is connecting all instances to form one long series so boxcox is ap...
g21134
[ -0.018020525574684143, 0.023988740518689156, 0.008187240920960903, -0.10110121220350266, 0.022110719233751297, -0.01327933743596077, -0.03189615532755852, -0.007672913372516632, -0.033719293773174286, -0.040072787553071976, -0.06187090277671814, 0.02880769595503807, 0.02336479350924492, 0....
<p>I've been working with some process cycle time data and scaling using the standard z-score in order to compare between parts of the full cycle time. </p> <p>Should I use some other transformation since the data are heavily right-skewed/non-normal? ('outliers' can never take negative time and often take much longer ...
g63456
[ -0.00041060574585571885, -0.022288728505373, -0.01055155135691166, -0.00032047423883341253, -0.024535492062568665, -0.05880523845553398, 0.040026746690273285, 0.017693517729640007, -0.03275037184357643, 0.0215192511677742, 0.004928694572299719, 0.027215706184506416, 0.028500918298959732, 0...
<p>This is a natural experiment, so I can not 'resample':</p> <p>My population has a property with 9 possible values: 1,2,3,9. Each value has a probability associated with it. For example 1's occur 10% but 2's occur 7% in the population. </p> <p>For my sample (n = 1000), I measure the percentage of the sample that e...
g21138
[ -0.011752454563975334, 0.015534143894910812, 0.0005274619907140732, -0.03275717794895172, 0.007931483909487724, -0.03724674507975578, 0.01403760351240635, 0.05088265985250473, -0.005553899332880974, -0.0020462286192923784, -0.0008191718370653689, -0.013939480297267437, -0.005597060080617666,...
<p>I am looking to find the power of a study using a G*Power post-hoc test for a repeated measures within-between design. I have the effect size calculated, alpha set at .05, my sample size, and number of groups. I have 8 different measures that are each averaged from two-three reps. All 8 measures are muscle activity ...
g63457
[ -0.017941435799002647, -0.006814230233430862, -0.021686233580112457, -0.0547168031334877, -0.03903104364871979, -0.03514069318771362, -0.016718709841370583, 0.02444157563149929, -0.06833621114492416, -0.028438376262784004, -0.0020967305172234774, 0.02618984691798687, -0.020348934456706047, ...
<p>I am creating a support vector machine for extremely unbalanced data in which identifying instances of the rare class is of the highest importance. Since the data is so unbalanced, training and testing a model with no up-sampling results in an extremely accurate model that performs very poorly in terms of its true p...
g40432
[ -0.03242148458957672, 0.0023509301245212555, 0.02974102459847927, -0.022074289619922638, 0.011773808859288692, 0.046557486057281494, 0.013123898766934872, 0.05209902301430702, -0.0009682165691629052, 0.01871589757502079, 0.05765596777200699, -0.003123123198747635, 0.030647525563836098, 0.0...
<p>I am assigned with a academic task to forecast temperature using CurveFitting.</p> <p>Please suggest me whether I use Linear regression/ Non-Linear regression or extrapolation? I have to forecast 1 next week (days from 16 to 23) temperature.</p> <pre><code> days=[1:15]; temp=[34 36 38 35 36 37 4...
g63458
[ 0.03607461228966713, -0.03671669587492943, 0.005811878480017185, -0.058732323348522186, -0.022038010880351067, -0.014595073647797108, 0.039883702993392944, 0.0008997153490781784, -0.03164952993392944, 0.002207111334428191, 0.017220478504896164, -0.0050160945393145084, 0.017621401697397232, ...
<p>I am developing a regression model and most of my variables are 0/1 variables. </p> <p>Should these variables be treated as factor variables in the model or can they just be left as numeric 0,1?</p>
g63459
[ 0.012912940233945847, -0.09529116749763489, 0.01279357261955738, -0.029972976073622704, 0.0747273862361908, -0.0006502908072434366, -0.005074935965240002, 0.05713953822851181, -0.010817237198352814, -0.0555494949221611, 0.01944207027554512, 0.020978355780243874, -0.016342204064130783, 0.03...
<p>I want to approximate the distribution of a binomial random variable $X\sim B(n,p)$. In all references I have seen it is done by a normal distribution. (Of course the Central Limit Thm and de Moivre–Laplace thm are good justifications for it.) Doesnt though the truncated normal distribution on [0,n] give a better ap...
g63460
[ 0.015920286998152733, 0.018985573202371597, -0.012642073445022106, -0.03132079914212227, -0.0030342566315084696, -0.004571142606437206, -0.0160383153706789, -0.009427128359675407, -0.019400449469685555, 0.0005899077514186502, 0.011699950322508812, 0.008821274153888226, -0.03567340224981308, ...
<p>I have a derived dataset that specifies the percentiles from the 10th to 95th in increments of 5 along with the total number of data points. Is there a way to estimate the mean of the original dataset?</p>
g63461
[ 0.01626327447593212, -0.02118506096303463, -0.006183951161801815, -0.08796379715204239, 0.003230665111914277, -0.04327486455440521, 0.005861687008291483, 0.04344315081834793, -0.06728218495845795, -0.05434620752930641, -0.03572247922420502, 0.014874835498631, 0.06304863095283508, 0.0136931...
<p>If I have a system of equations, $Ax=B$ where the elements of $B$ have been experimentally determined and as such each element has some uncertainty, how would I propagate this to the elements of $x$? </p> <p>$$ \left[\begin{matrix} a_{11} &amp; a_{12}\\ a_{21} &amp; a_{22}\\ \end{matrix}\right] \left[\begin{matrix}...
g63462
[ 0.020348625257611275, 0.018144911155104637, -0.032205503433942795, 0.0028921402990818024, 0.0768781453371048, -0.042639438062906265, 0.027105452492833138, 0.012984097935259342, 0.017112262547016144, -0.021234961226582527, -0.006183041725307703, 0.08405331522226334, -0.014997554942965508, 0...
<p>EDIT: Already got an answer to question 4 (programming). Question will remain on theoretical issues about factorial experiment designed in blocks and Duncan's test.</p> <p>Given one experiment designed in blocks and with a full factorial scheme with two independent variables with two levels each (2 x 2): </p> <pr...
g63463
[ -0.007785104215145111, -0.010442119091749191, -0.0002445286081638187, -0.04323585703969002, 0.04049016162753105, -0.06762944906949997, 0.06638621538877487, -0.003834719071164727, -0.08453775197267532, -0.049708303064107895, 0.0019349366193637252, 0.0296414066106081, 0.018804876133799553, 0...
<p>I'm not sure the best way to explain this, so let me give an example that motivates my question. I have tried reading the RPART manual, documentation, and its code, but I have not been able to resolve this.</p> <p>Let's build two classification trees from the iris data: one using only 2 predictors (Sepal.Width &amp...
g2010
[ 0.02859216369688511, -0.011961428448557854, 0.00016768019122537225, 0.01051369309425354, 0.03555968031287193, -0.04751470312476158, -0.00017783888324629515, 0.028299326077103615, 0.0070264097303152084, -0.013088352978229523, 0.004968414083123207, 0.030420349910855293, 0.04378417506814003, ...
<p>While studying about probability distributions I found that distributions such as $\chi^2$ only would be able to tell if there <strong>is</strong> or there <strong>is not</strong> relation between a variable, but not how strong it is. </p> <p>Later, it is pointed out that it is possible to observe how strong this r...
g21149
[ 0.05307462811470032, 0.0010424841893836856, 0.008792417123913765, -0.0282447449862957, 0.014068352058529854, -0.020569195970892906, -0.040237002074718475, 0.039517439901828766, -0.009628056548535824, -0.059555426239967346, -0.023236213251948357, -0.01871419884264469, 0.0446540042757988, 0....
<p>Consider estimating the variance of a RV $X$, we start with the sample variance:</p> <p>$$ \begin{array}{ll} V_1 &amp; = \frac{1}{N-1} \sum_{i=1}^N (X_i - \bar{X})^2\\ &amp; = \frac{1}{N-1} \left(\sum_{i=1}^N X_i^2 - 2\bar{X}\sum_{i=1}^N X_i + N\bar{X}^2 \right)\\ &amp;= \frac{1}{N-1} \left(\sum_{i=1}^N X_i...
g40446
[ -0.03598124906420708, -0.03480551019310951, 0.00306529738008976, -0.013792680576443672, 0.018758948892354965, -0.037352368235588074, 0.016957003623247147, 0.013879051432013512, -0.011994563974440098, 0.029765481129288673, -0.028901195153594017, 0.07054296135902405, -0.013704387471079826, 0...
<p>I'm trying to aggregate $T$ local image descriptors (i.e. histograms) into a vector, namely, the Fisher Vector as described in this paper by H. Jégou et al., <a href="http://hal.inria.fr/inria-00633013/" rel="nofollow">Aggregating local image descriptors into compact codes</a>, to perform image classification. As a ...
g21150
[ -0.04612181335687637, -0.020916400477290154, -0.0157412551343441, -0.05025050416588783, 0.003801461774855852, -0.06677465885877609, -0.011755652725696564, 0.023834001272916794, -0.09375692158937454, 0.03049696423113346, 0.008029905147850513, -0.0003015242691617459, 0.062301840633153915, 0....
<p>The help pages for MGCV in R states the following: </p> <blockquote> <p>Note that when using factor by variables, centering constraints are applied to the smooths, which usually means that the by variable should be included as a parametric term, as well.</p> </blockquote> <p>What exactly does this mean? What...
g63464
[ 0.03355355188250542, -0.043919987976551056, -0.0005696750595234334, -0.042357560247182846, 0.011491219513118267, -0.046516239643096924, 0.06929991394281387, 0.015008237212896347, -0.040239207446575165, -0.01734873279929161, -0.011624881066381931, 0.04199335724115372, 0.06499533355236053, -...
<p>I have some data that I would like to compare with a theoretical distribution for which I know the parameters. How do I plot the empirical pdf against the theoretical pdf? Perhaps I should add that I would like to plot two continuous pdfs.</p> <p>Edit:</p> <p>I am sorry if this problem is more related to Stack Ove...
g63465
[ 0.03437560051679611, -0.06482914090156555, 0.02199147827923298, -0.06335219740867615, -0.023102005943655968, -0.016839101910591125, -0.00305359298363328, -0.010181864723563194, -0.0922728031873703, -0.0021892606746405363, 0.07216065376996994, -0.022415852174162865, 0.08069349825382233, -0....
<p>I have survival data in which a certain percentage of the failures are known exactly and the rest are currently estimated based on known measurement errors. Should I interval censor the exact measurements as well and proceed with interval censored data or treat some other way.</p>
g63466
[ 0.03507154434919357, -0.08635331690311432, 0.011936139315366745, 0.048960618674755096, -0.005509362556040287, 0.03342553228139877, -0.025588808581233025, 0.006828408222645521, -0.00033003962016664445, -0.0035205986350774765, 0.016228241845965385, -0.01987658627331257, 0.07312200218439102, ...
<p>I am new to ML and I'm having trouble figuring out how to implement a Maximum Entropy Markov Model for a sequence labeling task. Given this MEMM equation $$ P_{s'}(s|,o)=\frac{1}{Z(o,s')}\exp\left(\sum_{a}\lambda_{a}f_{a}(o,s)\right) $$ Where $s'$ is the previous classification, $s$ is the current classification, a...
g21153
[ -0.06252693384885788, -0.08046811819076538, 0.007915508933365345, -0.025882558897137642, 0.004138864576816559, -0.022323112934827805, 0.04239191114902496, 0.07060061395168304, -0.04661169648170471, -0.0063009364530444145, -0.0746300145983696, 0.06598220765590668, 0.0755576565861702, 0.0111...
<p>If $X_i \overset{i.i.d.}\sim N(\mu, \sigma^2) $, we know that: $\bar{X} \sim N(\mu, \sigma^2 /n)$.</p> <p>But why does:</p> <p>$$\exp\left({\sigma^{2}\over 2}\sum_{i=1}^{n}(t_{i}-\bar{t})^{2}\right)= M_{X_{1}-\bar{X},X_{2}-\bar{X},...,X_{n}-\bar{X}}(t_1,t_2,...,t_n)$$</p> <p>Where $M$ is the moment generating fun...
g63467
[ -0.003937268629670143, 0.02772723324596882, -0.03355580195784569, -0.023171991109848022, -0.0002468954771757126, 0.002674357732757926, 0.05984945967793465, -0.03564900904893875, -0.08057080209255219, 0.006231958977878094, -0.08305315673351288, 0.022493595257401466, -0.017080549150705338, 0...
<p>Let's say that you're dealing with a good that has a finite amount of demand that goes down very rapidly over time. Movies at the box office are a good example. They mostly start out at the box office with their opening week as their biggest, and then sales decrease with each subsequent week.</p> <p>Let's say also ...
g63468
[ 0.03613011911511421, 0.018054669722914696, -0.00926990620791912, 0.019890746101737022, 0.03587952256202698, -0.028597695752978325, 0.028689241036772728, 0.008844787254929543, -0.049222540110349655, 0.006088575813919306, -0.010049959644675255, -0.0018049171194434166, 0.04152878373861313, 0....
<p>Imagine a game where an encounter between player and cpu plays like this:</p> <p>Player has <code>pattack</code> stat, cpu has <code>cdefense</code> stat, and then there's a uniformly random generated variable <code>rnd</code> that, let's say, can have the values in the range -0.2 to +0.2.</p> <p>The logic is easy...
g63469
[ 0.0036884695291519165, 0.0007518990896642208, -0.0283766258507967, -0.011642774567008018, 0.017618892714381218, -0.014942798763513565, 0.017161620780825615, 0.028184352442622185, -0.10266503691673279, -0.033823754638433456, -0.015196946449577808, 0.04151255264878273, -0.0018236435716971755, ...
<p>I have 200 training set data with a feature dimension of 1711. I get 50 support vectors; is there a rule of thumb for how many support vectors I should get for N training set data in order for the model to be generalized? Obviously, having 200 support vectors for 200 training set data is bad overfitting. I was wande...
g63470
[ -0.027316376566886902, 0.04702864587306976, 0.015104595571756363, -0.048725031316280365, -0.004255066625773907, -0.024506401270627975, 0.007544427644461393, 0.03667518123984337, -0.04704800993204117, -0.03993505612015724, -0.013469020836055279, -0.0009036349947564304, 0.01336740143597126, ...
<p>Here is a scenario: The average score on an exam in Yamaha Elementry in year 1 is 75.1%. 200 students took that test in year 1. In year 2, the average score was 76.5%, which comprised of 230 students. Based on this information, how significant was the performance from year 1 to year 2. Thank you.</p>
g63471
[ -0.07345855981111526, -0.012929541058838367, 0.011050522327423096, 0.018791377544403076, -0.029933659359812737, -0.004115865100175142, 0.06302174180746078, 0.07814300060272217, -0.00603516586124897, 0.03395705297589302, 0.029743336141109467, 0.039573777467012405, 0.006725972052663565, 0.00...
<p>I have an experiment that I'll try to abstract here. Imagine I toss three white stones in front of you and ask you to make a judgment about their position. I record a variety of properties of the stones and your response. I do this over a number of subjects. I generate two models. One is that the nearest stone...
g37972
[ -0.0006069632363505661, -0.053382258862257004, -0.004508740268647671, -0.04865424707531929, 0.043415654450654984, -0.03904088959097862, 0.02587774395942688, -0.008635323494672775, -0.03396870568394661, 0.007334603928029537, 0.006485034711658955, 0.03000085987150669, 0.09546729922294617, 0....
<p>I am looking for the Hurst exponent calculation methodology. Please suggest online materials / methodology papers.</p>
g63472
[ 0.03919178247451782, -0.03942546248435974, 0.0038706164341419935, -0.0404866524040699, -0.01129364687949419, -0.03097783960402012, 0.0026657041162252426, 0.05522024258971214, -0.00266593717969954, 0.005784668494015932, 0.02348780632019043, -0.0015431239735335112, 0.06761384755373001, -0.00...
<p>The statistical distance or Mahalanobis distance between two points $x = (x_1,\dots,x_p)'$ and $y = (y_1,\dots,y_p)'$ in the $p$-dimensional space $\mathbb R^p$ is defined as $$d(x, y) = \sqrt{ (x-y)' Q^{-1} (x-y)}$$ Where $Q$ is the covariance matrix that represents the measurement uncertainty of both variables $x$...
g63473
[ 0.014066645875573158, -0.00811697170138359, -0.008199541829526424, 0.010938779450953007, 0.008786862716078758, 0.030311280861496925, -0.006135362200438976, 0.007342934142798185, -0.03279608488082886, -0.009652380831539631, 0.015702998265624046, -0.00392669765278697, 0.0019352182280272245, ...
<p>I am trying to implement a system for automatic document categorization, where each document of a corpus belongs to some class. I define the following contingency table for every class C and every word W:</p> <p>$\begin{array}{c|cc} &amp; W &amp; \bar{W}\\ \hline C &amp; \frac{nb\_docs(C,W)}{nb\_docs} &amp; \frac{...
g40458
[ 0.024157198145985603, -0.013787779957056046, -0.012996416538953781, -0.05912032350897789, -0.0287668164819479, -0.05878019705414772, 0.010195576585829258, 0.02121669426560402, -0.0830494835972786, -0.01127680391073227, 0.024544987827539444, 0.013931522145867348, 0.040331095457077026, 0.042...
<p>I have a regression problem where I would like to predict values given several thousand sparse features. The general data set is an $n \times m$ matrix where each row contains a sample with a value I would like to predict. The remaining columns are features that I want to use to predict the value. What would be a go...
g63474
[ -0.000663509767036885, -0.006638662423938513, -0.008244127966463566, -0.03675195574760437, -0.004440166987478733, -0.08856426924467087, 0.04913485050201416, 0.002888752380385995, -0.04942222684621811, -0.023365555331110954, 0.021244054660201073, 0.023928191512823105, 0.0527341291308403, 0....
<p>I have fitted an ARIMA (0,1,1) model with a drift term using the “forecast” package. I want to perform a simulation study to obtain the mean of the forecasted values and the 95% forecasting intervals and compare them with the “Exact” mean and 95 forecasting intervals. The code below is what I have done. The graph s...
g63475
[ 0.0015286075649783015, -0.04700829088687897, 0.00027286872500553727, -0.04614286497235298, 0.02148706652224064, 0.026272840797901154, 0.013082288205623627, -0.025998106226325035, -0.04948597028851509, -0.02306259609758854, 0.017556656152009964, 0.04370914027094841, 0.07196444272994995, -0....
<p>There are umpteen million research papers regarding relationships between various patient attributes (e.g. how does gene x affect condition y?). What I am interested in though is a distance metric between patients in toto. Sort of like if I were constructing a dating site, I'd want to know how similar two people are...
g63476
[ 0.039617814123630524, -0.020551197230815887, 0.0036742177326232195, -0.06404472887516022, -0.05782942846417427, 0.015083693899214268, -0.014177875593304634, -0.01149015873670578, -0.019838571548461914, -0.03418745845556259, 0.04047780856490135, 0.01793149672448635, 0.037502795457839966, -0...
<p>I am interested in discovering motifs in a set of DNA sequence(say 100) and I would like to use the approach of using a subgroup(say 10 from 100) and likewise create random subgroups(picking 10 from 100 randomly) to discover the motifs in the given set of DNA sequences. I would like to know from statistics point of ...
g21163
[ -0.07632729411125183, 0.0052509428933262825, 0.007004220504313707, -0.04772045835852623, -0.031214499846100807, -0.1097174882888794, 0.0022403320763260126, 0.0703367292881012, -0.008525037206709385, -0.00017381293582729995, -0.013322954066097736, -0.006928719580173492, 0.016395479440689087, ...
<p>let's say I have n ts (ts_1, ts_2 ...). each ts is non-stationary, normal distributed and may correlated. </p> <p>I want to use a model to predict the ts and test how good it is doing out of sample and what i use to measure the prediction power is simple mean of error.</p> <p>To be concrete, i have 100 ts with 105...
g63477
[ -0.00921220425516367, -0.025801869109272957, -0.0049761272966861725, -0.013160930015146732, 0.05159110948443413, -0.01856745220720768, 0.0025017999578267336, 0.03142566606402397, -0.04544686898589134, 0.009790918789803982, -0.005018736235797405, 0.00536604318767786, 0.003169627860188484, 0...
<p>Given an MA(2) model</p> <p>$$X_t = e_t + A_1 e_{t-1} + A_2 e_{t-2}$$</p> <p>There are cases where there are multiple solutions. Given time series data that we can correctly estimate one solution $(A_1^*,A_2^*)$, how would we calculate the other pairs of coefficients satisfying the model from these?</p> <p>How do...
g63478
[ -0.016422931104898453, -0.014101527631282806, -0.00556007819250226, 0.012563001364469528, 0.06231266260147095, -0.029204443097114563, 0.01590437814593315, 0.05243946239352226, -0.02773628942668438, 0.0906309187412262, -0.08266938477754593, 0.004489692393690348, 0.08866196125745773, 0.03025...
<p>The <a href="http://en.wikipedia.org/wiki/Theil%E2%80%93Sen_estimator" rel="nofollow">Theil-Sen estimator</a> is a really nifty algorithm that produces a regression line that is relatively insensitive to outliers <strong>both</strong> in the response variable and the predictor variable. </p> <p>I've been wondering ...
g63479
[ -0.002877532970160246, -0.021823635324835777, 0.007013233844190836, -0.059789638966321945, -0.05833173915743828, -0.03233763948082924, 0.04220373556017876, 0.004868103191256523, -0.012905699200928211, -0.011312736198306084, 0.0032162030693143606, -0.005088712554425001, 0.03951265662908554, ...
<p><strong>I would like to discriminate sampled areas that are representative or not representative of their corresponding population, for a given characteristic.</strong></p> <p>Suppose I have surveyed areas (i.e. Census tracts) within a given population area (i.e. county). I want to compare characteristics of my sam...
g21165
[ -0.02246025763452053, -0.007185861002653837, -0.019347982481122017, -0.05941079556941986, -0.03531317040324211, -0.0016816690331324935, -0.0029292115941643715, 0.013515029102563858, 0.032400622963905334, 0.005283912643790245, 0.01844397373497486, 0.05941775441169739, 0.09868194907903671, 0...
<p>I am not sure how to do a mediation analysis with my outcome as a factor while mediating and causal variables are continuous. I have tried using the "mediation" package in R for this mediation analysis, but realized that it will not allow me if my outcome is the only factor. Is there another way to do this? </p> <p...
g63480
[ 0.04928010329604149, -0.10031517595052719, 0.014374082908034325, -0.033907752484083176, -0.010565132834017277, -0.06034008041024208, 0.05339384078979492, 0.05208304151892662, -0.00562871852889657, -0.052647482603788376, -0.01280840951949358, -0.0018037111731246114, -0.01090952567756176, 0....
<p>Is it possible to do k-fold cross-validation to <strong>test</strong> all data, rather than using kfcv to find the optimal hypothesis as is typically done.</p> <p>Example:</p> <p>Say I want to use a svms on a dataset of size 1000. Could I use 900 events to train the svm for the testing of the other 100 events. The...
g21166
[ 0.0519065335392952, 0.03518664464354515, 0.02894732356071472, 0.04034736379981041, -0.026300527155399323, -0.008667507208883762, -0.007121335715055466, 0.08909803628921509, -0.018817126750946045, -0.0002620396262500435, 0.033533476293087006, -0.021549280732870102, 0.05618290603160858, 0.03...
<p>I'm doing a logistic regression and I'm using a model where <em>all</em> included variables are dummy variables (0 or 1). Let's say we have a model with four independent variables and let the constant represent the reference category.</p> <p><strong>Question:</strong> How do we calculate the marginal effect of one ...
g21167
[ -0.008640017360448837, -0.031530264765024185, 0.00939332228153944, -0.050414640456438065, 0.023519953712821007, 0.015302310697734356, -0.009602537378668785, 0.066327765583992, -0.05087337642908096, -0.005527086555957794, -0.011407279409468174, 0.07583054900169373, -0.0072677647694945335, 0...
<p>I am trying to build a demand forecasting model for human resource team. I have thought of using monte carlo simulation method to do it. Is it the right technique for it? Has anyone used it to forecast human capital? What variables should i take into consideration to develop a model? The variables i can think of are...
g63481
[ 0.018824562430381775, 0.03341620787978172, 0.01833265647292137, -0.04214964061975479, -0.02807781472802162, 0.021587340161204338, 0.018740858882665634, -0.008341647684574127, -0.030010588467121124, 0.022005785256624222, 0.005088547244668007, 0.004027816466987133, 0.056777097284793854, -0.0...
<p>I have a file that can be considered as a matrix with each row representing a measurement of gene expression of different samples (each column is a sample). I want to find those genes with the most interesting patterns of expression across samples. That means that several samples have a similar expression range, ano...
g63482
[ 0.004198865033686161, 0.001846417668275535, -0.015767902135849, -0.0486689917743206, -0.008036376908421516, -0.06971539556980133, 0.028315994888544083, -0.00007874616858316585, -0.05480421334505081, -0.02748163603246212, 0.021285727620124817, -0.033072344958782196, 0.033037059009075165, 0....
<p>If <i>x1, x2,..</i> are identically distributed random variables with given mean, and N is a random variable >= 0 and N is independent of x1,x2,... If <code>y=x_1+x_2+...x_n</code>. How do we find <code>E(y|N=n)</code>?</p> <p><code> E(y|N=n) = sum_Y(y*P(Y=y|N=n)) = sum_Y(y*P(Y=y,N=n)/P(N=n)) </code></p> <p>I am n...
g21172
[ -0.004059611354023218, 0.012030479498207569, -0.016450058668851852, -0.02198849245905876, 0.015771392732858658, -0.038760796189308167, -0.014522230252623558, 0.014046957716345787, 0.00164966587908566, 0.005604961887001991, -0.0866302102804184, 0.02362252213060856, 0.03133922815322876, 0.06...
<p>Under which conditions should we expect the difference-in-difference estimate to be equal to the equivalent panel data model? </p> <p>Strictly speaking, whenever we have a experiment that offers a well defined treated and control groups in two periods of time, for using difference-in-difference methods, people reco...
g63483
[ 0.0020941414404660463, -0.030254816636443138, -0.004649190232157707, -0.04121166467666626, 0.04689396172761917, -0.017264477908611298, 0.04292401298880577, 0.05716922506690025, -0.006445982493460178, -0.020747700706124306, -0.019940407946705818, 0.031407762318849564, -0.011024323292076588, ...
<p>I am using ggplot and I would like to label the scales in each facet of a plot manually. The concept is discussed here:</p> <p><a href="http://groups.google.com/group/ggplot2/browse_thread/thread/d2044ed0f91de98a" rel="nofollow">http://groups.google.com/group/ggplot2/browse_thread/thread/d2044ed0f91de98a</a></p> <...
g40771
[ -0.027481021359562874, 0.027740977704524994, -0.004634496755897999, -0.10736946761608124, 0.033293966203927994, -0.0010551426094025373, -0.02272464707493782, -0.05387707054615021, -0.08984680473804474, 0.011006747372448444, 0.07370015233755112, 0.01741996593773365, 0.01620711013674736, 0.0...
<p>I'm testing ADF, PP and KPSS unit tests with tseries library. I get strange result with ADF and PP.</p> <p>I have this vector:</p> <pre><code>x &lt;- rnorm(1000) </code></pre> <p>obviously this vector is trend stationary. OK, I've done ADF, PP and KPSS tests and all of these confirm it.</p> <p>I have noticed tha...
g21175
[ 0.033205728977918625, -0.020650379359722137, -0.021676288917660713, 0.0010224853176623583, 0.04011843353509903, 0.010994634591042995, 0.028449805453419685, 0.07022015005350113, -0.03393211215734482, -0.03892739117145538, 0.020831942558288574, 0.05034378170967102, 0.05581127479672432, 0.012...