question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>Notation: $\dot{Z}_t = Z_t - E(Z_t)$, so that it is centered at 0. $a_t$ stands for the residual and we assume the $a_t$ are independent and normally distributed with mean 0 and constant standard deviation $\sigma_a^2$. And, when I say stationarity, I mean weak stationarity and not strict stationarity.</p> <p>In ...
g58288
[ -0.011924869380891323, -0.01586281694471836, 0.006616581697016954, -0.03212130069732666, 0.025100938975811005, 0.0026996522210538387, 0.06227788329124451, 0.047106485813856125, 0.011559722013771534, 0.058657605201005936, -0.029576580971479416, 0.006570929195731878, 0.0038741808384656906, 0...
<p>I have built a multivariate regression model where $\mathbf x$ is the variable vector. Now I am asked to calculate the confidence interval for the number to treat (NNT) at $\mathbf x=\mathbf {x_0}$ which in turn requires to build the confidence interval for $p=Pr(1|\mathbf x=\mathbf {x_0})$. I'm using JMP which, to ...
g42159
[ 0.0003116048756055534, -0.06222499534487724, -0.020675472915172577, 0.01584291085600853, 0.0007819546735845506, -0.020004302263259888, 0.031938452273607254, 0.021984150633215904, -0.07252154499292374, -0.02044287510216236, -0.03476908057928085, 0.062420036643743515, 0.0370430052280426, 0.0...
<p>I just started taking survival analysis class and I'm stumped on this question.</p> <p>We need to show that when there are no censored observations $\hat{S}(t)=\prod_t_{(i)\le t}(n_i-d_i)/n_i$ equals to the empirical survival function $S_n(t)=\# \{ t_{(i)} \ge t \}/n $</p> <p>It looks pretty obvious to me so I'm ...
g13299
[ -0.06093692407011986, -0.043857403099536896, -0.0028998919297009706, -0.011908375658094883, 0.005136299412697554, 0.004994373302906752, 0.01197404321283102, 0.0004682957660406828, -0.07055459916591644, 0.026314903050661087, -0.028568949550390244, 0.00998733751475811, 0.07504939287900925, 0...
<p>I am working with four survey datasets, two of them without a certain variable which I impute using multiple imputation techniques. Afterwards, I use the complete data to estimate a set of logit models for which -to my understanding- there is no substantive interpretation for their log-likelihood. This is an importa...
g58289
[ 0.02693011425435543, -0.045686278492212296, 0.013552537187933922, -0.06368207931518555, -0.04817669093608856, -0.01309364102780819, 0.0021513905376195908, 0.039481472223997116, -0.017204610630869865, -0.012491929344832897, -0.008141635917127132, -0.06363753229379654, 0.008949683979153633, ...
<p>I just started taking survival analysis class and I'm stumped on this question.</p> <p>Let $T_1,...,T_n$ random independent continuous variables, with hazard function of $h_1(t),...,h_n(t)$. $T=min(T_1,...,T_n)$. And we need to show that the hazard function of T is $\sum_j{h_j(t)} $</p> <p>Any help or direction ar...
g49446
[ -0.024200713261961937, -0.06818582862615585, 0.006465364247560501, 0.0060117184184491634, -0.04494330659508705, 0.005989955272525549, 0.0033857051748782396, -0.006209269631654024, -0.04899949952960014, -0.0023953341878950596, -0.02531922236084938, 0.02907593734562397, 0.0005075660883449018, ...
<p>This is a general question. I have a task that is composed of 3 independent events: A, B, and C. All are mutually exclusive and don't happen at the same time. So first A, then B, then C. I know the probability of completing each event with respect to time, I have the pdfs. How can I calculate the probability of...
g58290
[ -0.015677805989980698, -0.0033846853766590357, 0.01809052750468254, -0.028516987338662148, 0.007759087719023228, -0.03345061093568802, 0.01968691311776638, 0.0572328120470047, -0.0773511528968811, 0.02743937261402607, -0.020200222730636597, -0.03389329835772514, 0.00405097147449851, 0.0208...
<p>I am comparing images for correlation. The images are all correlated, but I would like to determine when one pair is much more highly correlated, relative to another pair. I am using as a statistic the difference in the logs of p-values produced by a Spearman rank correlation test. If this is difference is small, th...
g42164
[ 0.04334220662713051, 0.00898836087435484, -0.01851659081876278, -0.054551005363464355, -0.0025809553917497396, -0.031088998541235924, 0.04981163889169693, -0.017117822542786598, -0.015394747257232666, -0.009633226320147514, -0.02994208037853241, 0.036883436143398285, 0.013838440179824829, ...
<p>Why is it dangerous to initialize weights with zeros? Is there any simple example that demonstrates it?</p>
g42165
[ 0.05168355628848076, 0.04306462034583092, -0.005446287337690592, -0.004243454430252314, 0.057670850306749344, 0.0034375337418168783, 0.007926538586616516, 0.024763785302639008, -0.08261507004499435, -0.01741667650640011, -0.06449998915195465, 0.003548530163243413, -0.0006600100314244628, 0...
<p>What is the exact definition of <em>precision</em> of a statistical estimator? Any references to textbooks are appreciated.</p>
g13304
[ 0.03737999498844147, -0.03262055292725563, 0.008290622383356094, 0.021921787410974503, 0.023293469101190567, -0.02050098590552807, 0.0579589419066906, 0.023133130744099617, -0.012144158594310284, 0.017856068909168243, -0.05369572341442108, -0.03297566622495651, 0.04663284495472908, -0.0594...
<p>Is it possible to conduct a regression if all dependent and independent variables are categorical variables?</p>
g58291
[ -0.03936236351728439, -0.007228805683553219, -0.024912236258387566, -0.012255408801138401, 0.0015641627833247185, -0.04391985014081001, -0.03761187568306923, 0.013312587514519691, -0.0488632433116436, -0.026466025039553642, -0.006720094941556454, 0.024781156331300735, 0.00536536006256938, ...
<p>I've created a model with <code>lme4</code>'s <code>lmer</code> and wanted to create a prediction interval around my model fit. I figured I could do it Bayesian-style and simulate from the model to do this. My model looks like:</p> <pre><code>b3 &lt;- lmer (dollars ~ 1 + I(refund/days) + (1 | month) + (1 | regime),...
g58292
[ 0.0108549939468503, -0.0259039718657732, -0.006392121780663729, -0.033271823078393936, 0.01428364496678114, -0.0039619156159460545, 0.049651067703962326, -0.00886098574846983, -0.047370392829179764, -0.0300089493393898, 0.03637111186981201, 0.060323216021060944, 0.048178743571043015, 0.004...
<p>Is it valid (reliable etc.) to compare a small sample with a large sample (which is made up of several small samples) when both samples are from the same population?</p> <p>There are 3 firms. Each firm specialises in the manufacture of a particular product, hence it is classified in that way. </p> <p>Firm A manufa...
g58293
[ -0.010398642159998417, -0.026340864598751068, -0.002386395586654544, -0.01882491447031498, -0.03266790509223938, -0.017918765544891357, 0.009677822701632977, -0.019937913864850998, 0.02041620761156082, 0.004348757676780224, 0.07903020828962326, 0.024454113095998764, 0.02838928811252117, -0...
<ol> <li><p>Isn't the test statistic for both tests identical? The only difference I see is that the alternative hypothesis is different. Since you don't need to know the function h in the Breusch-Pagan test, what exactly is the difference between the two tests? </p></li> <li><p>When would you use the White test, and w...
g58294
[ 0.020505079999566078, 0.0009381201816722751, 0.03910089656710625, -0.049897756427526474, 0.03982507064938545, -0.048311203718185425, 0.012068561278283596, -0.008834977634251118, 0.01305999793112278, 0.008076841942965984, 0.027196409180760384, 0.03762007877230644, 0.047293759882450104, 0.02...
<p><strong>First a little background:</strong></p> <p>I'm a college paintball coach and I have two populations of players:</p> <p>I. Players that have a lot of experience/skill prior to joining the team e.g. playing for amateur non college teams but who don't often play together for various reasons.</p> <p>II. Playe...
g42171
[ -0.009700767695903778, -0.055374838411808014, -0.01709117740392685, 0.011107951402664185, 0.02171015925705433, 0.00015152872947510332, 0.052124399691820145, 0.025688592344522476, 0.03983549401164055, 0.014424645341932774, -0.000738981761969626, 0.006147137843072414, 0.06116534397006035, -0...
<p>I've written a user defined splitting function to use with rpart, its returning a 'vector of goodness', but the tree that is returned never has any splits, just one node. </p> <p>using the anova method on the same data provides a tree with many nodes.</p> <p>I've been interrogating the code, but rpart feels like a...
g37738
[ 0.025737542659044266, -0.03090565651655197, -0.016587695106863976, -0.034515559673309326, 0.016700292006134987, 0.011528360657393932, -0.02841198444366455, 0.05150122195482254, -0.02894420363008976, -0.07809630036354065, -0.0034250023309141397, 0.007396914064884186, -0.005631977692246437, ...
<p>I am working for two signals. One is a dataset with 10 equally spaced impulses. Another is a dataset with randomly spaced impulses of identical length. The higher order moments, such as kurtosis, skewness or standard deviation are not sensitive to the two signals. Who can help look for an indicator to identify it?</...
g58295
[ -0.0022183379624038935, -0.02899935282766819, -0.034200310707092285, -0.059532444924116135, 0.0004973721224814653, -0.03459716960787773, -0.025042245164513588, 0.03209858015179634, -0.03438534960150719, -0.004674485418945551, -0.019411860033869743, 0.02161462977528572, 0.013721645809710026, ...
<p>I am having a problem using MICE, where it generates the following warning:</p> <pre><code>Warning message: In var(data[, j], na.rm = TRUE) : NAs introduced by coercion </code></pre> <p>This seems to be related to the presence of a unique alphanumeric ID variable in the data. For example:</p> <pre><code>require(m...
g58296
[ 0.04244745895266533, -0.007944946177303791, 0.004260312300175428, -0.06989976018667221, 0.02360096387565136, -0.03443937003612518, 0.004988471977412701, 0.029935741797089577, -0.016509423032402992, -0.010187122039496899, 0.0041679563000798225, 0.06872328370809555, 0.014202122576534748, 0.0...
<p>Imagine we have a potentially biased coin and a potentially biased six-sided die and we want to know which is more biased than the other.</p> <p>Firstly, is this a reasonable goal? Could it make sense to say, for example, that the coin is more biased than the die?</p> <p>Secondly, assuming the goal is reasonable, ...
g13310
[ 0.006642913445830345, 0.00826350599527359, -0.009247995913028717, -0.06256378442049026, 0.0036580029409378767, -0.055318433791399, -0.018943458795547485, -0.027717936784029007, -0.037557683885097504, -0.027873581275343895, -0.008661676198244095, 0.013526882976293564, 0.07422005385160446, -...
<p>I've obtained a multiple linear regression model in the form $$ \mathrm{log}(Y) = \beta_0 + \beta_1x_1 + \dots + \beta_4x_4 + \beta_5x_1x_2 + \dots + \beta_{10}x_3x_4 + \beta_{11}x_1^2 + \dots + \beta_{14}x_4^2 $$ from the model I've obtained some contour plots that, for a more immediate interpretation, I've back t...
g13311
[ -0.005660868249833584, -0.055450111627578735, -0.023291321471333504, 0.01838003844022751, -0.013627457432448864, -0.0060478211380541325, 0.03445396199822426, 0.0546126551926136, -0.03266074135899544, -0.021308645606040955, -0.05244627967476845, 0.05766899138689041, 0.025485889986157417, -0...
<p>Regarding p-values, I am wondering why 1% and 5% seem to be the gold standard for "statistical significance". Why not other values, like 6% or 10%?</p> <p>Is there a fundamental mathematical reason for this, or is this just a widely held convention?</p>
g49911
[ 0.03777939826250076, 0.05499810352921486, -0.0017023535910993814, 0.021572163328528404, 0.019967444241046906, -0.015786517411470413, 0.016616733744740486, 0.010046044364571571, 0.013502925634384155, -0.029179345816373825, 0.02653648518025875, -0.019584238529205322, 0.035388484597206116, 0....
<p>I have two unequal groups (94 and 52) and want to run a Mann-Whitney U-test to see whether their scores on a measured variable differ. I see that it is OK to do with Kruskall-Wallis, does the same apply to Mann-Whitney? </p>
g58297
[ -0.04965284839272499, 0.008196868933737278, 0.021215949207544327, -0.014949140138924122, 0.018607210367918015, 0.04771248996257782, -0.05252431333065033, 0.01843581721186638, -0.034225866198539734, -0.015402896329760551, 0.022671781480312347, 0.008655499666929245, 0.018715305253863335, 0.0...
<p>My study involves studying the seasonal variations (premonsoon, monsoon, postmonsoon) in river at 5 different sampling points. The water quality study involved eight water parameters. To check the reliability of data, I had run reliability analysis and got Cronbach's value = 0.187..which is very very low. But my qu...
g58298
[ 0.005497799254953861, -0.08364126831293106, 0.0030113505199551582, -0.011564208194613457, -0.012964446097612381, 0.022505823522806168, 0.030841998755931854, -0.03747910261154175, -0.01172619964927435, -0.00031906136428005993, -0.004128596745431423, 0.04360923916101456, 0.017662864178419113, ...
<p>I need to calculate some integrals using MCMC with Metropolis Random-Walk Algorithm. To decide the value I will accept as my integral, I will calculate 5 simulations of MCMC with size 2000, but I won't use the first 500 obtained values (Burn-in step). So, my doubt is:</p> <p>$$ SE = \sqrt{\frac{1}{N} \sum_{i=1}^N (...
g58299
[ 0.0038279711734503508, -0.006474033463746309, -0.009710586629807949, -0.01683361455798149, -0.05516931414604187, -0.010553982108831406, 0.024441737681627274, 0.025539319962263107, -0.047806285321712494, 0.02923712693154812, -0.03445761278271675, 0.025832079350948334, 0.007766025606542826, ...
<p>Is there a closed-form expression for the distribution of the Sample Kurtosis of data sampled from Gaussian distribution? i.e., </p> <p>$P(\hat{K}&lt;a)$ where $\hat{K}$ is the sample kurtosis.</p>
g13317
[ -0.013146277517080307, -0.03854428604245186, 0.005150354001671076, -0.0664946585893631, -0.039035215973854065, 0.034520287066698074, -0.015618818812072277, -0.014829330146312714, -0.0503583587706089, -0.004714503884315491, 0.033114369958639145, 0.0014814211754128337, 0.08225170522928238, -...
<p>Objective: I want to test the effect of a regulatory change using a classical pre-post/treatment-control DiD design (Y = POST + TREAT + POSTxTREAT + e).</p> <p>Problem: Treatment &amp; control obs. are from different countries. Although these countries are similar with respect to many relevant aspects, a visual che...
g58300
[ 0.026085592806339264, -0.011914104223251343, -0.01737259328365326, -0.01935121975839138, -0.04994018375873566, -0.049738265573978424, 0.07295259088277817, 0.04010213166475296, 0.009603628888726234, -0.04480831325054169, 0.03052857331931591, 0.06631346046924591, 0.05522167310118675, 0.04243...
<p>Whilst studying likelihood methodologies, I've come across some results that I haven't been able to work out.</p> <ol> <li><p>If $X$ and $Y$ are Poisson with means $\mu_{X}$ and $\mu_{Y}$, then the conditional distribution of $X$ given $X+Y$ is binomial with parameters $n = X+Y$ and $\pi = \frac{\mu_{X}}{mu_{X}+mu_...
g13318
[ -0.00588163873180747, 0.005384450778365135, -0.0053371042013168335, 0.004943799693137407, 0.028084509074687958, -0.022409072145819664, -0.007912959903478622, -0.021573513746261597, -0.01601356267929077, -0.012923144735395908, -0.07104216516017914, -0.003891037544235587, 0.004846640396863222,...
<p>I have a 2x2 between-subject design with (slightly) unequal cell sizes. Hence I chose to use the <code>anova(lm(...))</code> function so that Type 1 SS are used:</p> <p><code>anova(lm(prob ~ utility * imagination, data = e2data))</code></p> <p><code>prob</code>is the numerical DV and <code>utility</code> and <code...
g58301
[ -0.029614027589559555, -0.0007531527662649751, 0.006072002928704023, -0.03521239012479782, -0.011521955952048302, 0.030021915212273598, 0.018981972709298134, -0.005516441073268652, -0.07487281411886215, -0.009730321355164051, 0.01775871403515339, 0.02323170006275177, 0.07460608333349228, 0...
<p>I have a vector (V1) with which I need to calculate the similarity of other vectors (ex V2,V3 ... ) which may be of different lengths. The different angle here is that the elements inside the vectors are itself similar to each other.</p> <pre><code>V1 = c("a","b","c") V2 = c("a","d","e","f","g") V3 = c("b","c","f")...
g13319
[ 0.06133803352713585, -0.05554737150669098, 0.025888239964842796, -0.0315619558095932, -0.003458172082901001, 0.01008200366050005, 0.04370061308145523, -0.01869867369532585, -0.05749022960662842, 0.007269440218806267, 0.0018477591220289469, 0.03498673066496849, -0.009600717574357986, 0.0275...
<p>I struggle with following question: </p> <blockquote> <p>It is now considered that house prices are rising again following the recent slump. Given that in 2008 the average price of a standard 3 bedroom house was €215,000. A sample of 25 similar houses in 2013 gave an average price of €275,000 with a standar...
g58302
[ 0.03915514051914215, -0.0184613224118948, -0.01726946234703064, -0.005018049851059914, -0.0043974462896585464, -0.05560369789600372, 0.013227386400103569, 0.035648126155138016, -0.0359315499663353, 0.004949529655277729, 0.019683795049786568, 0.05396675691008568, 0.07366334646940231, -0.012...
<p>I have a model with two random effects</p> <pre><code>&gt; lmer(TotalPayoff~Type+Game+PgvnD*Asym+(1|Subject)+(1|Pairing),REML=FALSE,data=table)- &gt;m1 </code></pre> <p>each pairing contains 2 subjects and each Subject is in 2 different pairings with different subjects. For some reason the subject random effec...
g13320
[ 0.002932974835857749, -0.07882809638977051, 0.003347498131915927, -0.04585811868309975, 0.042552363127470016, 0.012891598977148533, 0.034662701189517975, 0.02633310668170452, -0.02779451198875904, -0.05085407570004463, 0.014789719134569168, -0.0001111833771574311, 0.022051211446523666, -0....
<p>I've always heard that data mining and machine learning tools/techniques are heavily used in the pharmacy sector and biology but I have never heard of companies that offer commercial applications of data ming for pharmacy and biology. Once I heard my professor saying that if you really want to know the state-of-the-...
g58303
[ 0.030729787424206734, -0.04157078638672829, 0.026941120624542236, 0.010577695444226265, 0.02513502724468708, -0.04135001450777054, -0.013586805202066898, 0.033775072544813156, 0.012535776942968369, -0.02872689627110958, 0.02570103108882904, 0.06121119484305382, 0.052015259861946106, -0.033...
<p>I need to calculate the regression variance ($\sigma^2$) in order to estimate both the confidence intervals and the prediction intervals in a gls regression analysis. For the analysis, the covariance matrix ($V$) of the response variable ($y$) is known in advance, and so I use it directly as the weighting matrix (=...
g58304
[ 0.04575406759977341, -0.03479298949241638, -0.01451855804771185, -0.04304846003651619, -0.00599333131685853, 0.024188920855522156, 0.03638368844985962, -0.006845206022262573, -0.06380030512809753, -0.01838621497154236, -0.032098401337862015, 0.06100089102983475, 0.01533447578549385, -0.011...
<p>I am planning a seven-question Likert-type survey with a "1 to 10" scale. The questions I am asking in the survey are to assess an individual's risk factors (how much risk they present to an organization). The risk factors are compounding, meaning the more risk factors an individual exhibits, the greater risk the i...
g58305
[ 0.021302741020917892, 0.02842293307185173, -0.013197959400713444, -0.06730974465608597, 0.003943946678191423, 0.004364247899502516, -0.019626658409833908, 0.018823562189936638, -0.013558120466768742, -0.04410522058606148, 0.027713049203157425, 0.007104036398231983, 0.002384696388617158, -0...
<p>During study our of statistics in my psychology coursework, we had to teach ourselves how to use generalized linear models in SPSS (only basic knowledge). For an exam we may also use generalized linear models and I want to try it, but I have two problems:</p> <ol> <li><p>According to the distribution of the depende...
g58306
[ -0.006666834931820631, -0.019360456615686417, -0.009613897651433945, -0.05788456276059151, -0.035716015845537186, 0.014883944764733315, -0.021282140165567398, 0.029168076813220978, -0.04630327969789505, -0.008388286456465721, 0.01892678812146187, -0.01231968030333519, 0.00012570011313073337,...
<p>I have measurements for daily space heating vs daily mean outdoor temperature for two different control strategies. The data is shown here:</p> <p><img src="http://i.stack.imgur.com/c4L6Y.png" alt="enter image description here"></p> <p>I have also performed linear regression, of the form:</p> <pre><code>lm(Energy...
g58307
[ 0.004336115904152393, -0.06349089741706848, -0.0010133142350241542, 0.025842545554041862, -0.00599743751809001, -0.043507806956768036, 0.04199937358498573, 0.01606115512549877, -0.06627532839775085, -0.034955382347106934, 0.027137048542499542, 0.028200911357998848, 0.02548046223819256, -0....
<p>I have a longitudinal data set in which my predictor/Independent Variable is dichotomous and was assessed at age 4 years, and my outcome/Dependent Variable (depressive symptoms) was assessed at 16 years. I would rather not arbitrarily dichotomize the DV, and I would prefer to avoid non-parametric stats so that I co...
g58308
[ 0.006904472131282091, -0.04534183815121651, -0.017231637611985207, -0.04103779047727585, -0.0775749683380127, -0.022757934406399727, 0.037518229335546494, -0.004682461265474558, -0.020846253260970116, -0.049124665558338165, -0.014592299237847328, -0.0023150539491325617, 0.023328788578510284,...
<p>I am trying to fit several MLEs on a small dataset. I have managed to get it done for all my potential models except for this last one. This last one is actually the model that I expected to be the best model, because it was the best model when I did the whole thing using GLS. To start, here is the data:</p> <pre><...
g13328
[ 0.019988249987363815, -0.022863076999783516, 0.004073162097483873, -0.05543415993452072, 0.05888965725898743, 0.013134434819221497, 0.0050233276560902596, -0.008995510637760162, -0.09620903432369232, -0.03304368257522583, 0.012802577577531338, 0.031457193195819855, 0.02178765833377838, 0.0...
<p>I have a questionnaire distributed to the users with the following question from which users can select an answer</p> <p>Q: What was the project Cost Performance Index</p> <pre><code>Option 1 : 0 &lt; CPI &lt; .5 Option 2 : .5 &lt; CPI &lt; .75 Option 3 : .75 &lt; CPI &lt; 1 Option 4 : 1 &lt; CPI &lt; 1.5 Opti...
g13330
[ 0.06364526599645615, -0.03015006333589554, -0.02656804956495762, -0.052121713757514954, 0.030175015330314636, -0.013835842721164227, 0.018488522619009018, -0.045442648231983185, -0.06947708129882812, 0.02456650137901306, -0.013334623537957668, 0.03416592627763748, 0.01389001589268446, -0.0...
<p>First off, I am aware I have not enough data to be performing a regression with this number of parameters, lets overlook that for now - I'm interested only in why I get an error with one model, and not with the other:</p> <p>I try to do a regression as follows:</p> <pre><code>glm("y~(x1+x2+x3+...x8)^2", family=Gam...
g2566
[ 0.04704335704445839, 0.008824444375932217, -0.017968224361538887, -0.014201403595507145, 0.06718292087316513, 0.0014343459624797106, 0.03139008209109306, -0.015978896990418434, -0.060605745762586594, -0.03906501457095146, -0.045043643563985825, 0.02791314199566841, 0.03180942311882973, 0.0...
<p>The duality theorem between acceptance region of testing and confidence region is about their validity (i.e. satisfying the significance level of the former and the confidence level of the latter sum up to be 1). For example, this is what is given in Casella's Statistical Inference.</p> <p>I was wondering if there...
g42200
[ 0.045073844492435455, 0.03023616224527359, -0.006312705110758543, 0.014887574128806591, -0.04095175862312317, 0.07281328737735748, -0.048388805240392685, 0.06317093223333359, -0.03302093967795372, -0.012674214318394661, 0.02087664045393467, 0.015324213542044163, 0.011610953137278557, -0.00...
<p>Trying to "understand" a time series' patterns it is intuitively tempting to use STL decomposition as the concept of distinguishing between trend, season and the rest makes sense.</p> <p>But my experience tells me that no static algorithm will lead under all circumstances to useful results. </p> <p>So my general q...
g109
[ 0.05839134007692337, 0.0035277260467410088, 0.02699311077594757, -0.029129158705472946, -0.015928849577903748, -0.011099823750555515, 0.06426642835140228, 0.006811279337853193, -0.02617437019944191, -0.018216678872704506, 0.013605344109237194, -0.025906357914209366, 0.020804470404982567, 0...
<p>I ran a mixed model regression and obtained the following output. Because I log-transformed the concentration variable, I interpreted the coefficient as follows: the mean concentration is reduced $1.5$ percent each year. The years run from 1993-2010. </p> <p>Can say also state that the mean concentration is redu...
g42205
[ 0.013045175932347775, -0.06486228853464127, -0.005852553993463516, 0.00004026880924357101, 0.030321301892399788, 0.0034089209511876106, 0.07635602355003357, 0.020574910566210747, -0.04824402928352356, -0.04480954632163048, -0.03532494604587555, -0.00514603964984417, 0.048689913004636765, 0...
<p>I'm analyzing a very large, but not finite, set of survey data. I've assembled a time series crossing gender (2 categories, if there was uncertainty) with age (in 6 categories) and wish to test whether the demographic representation has changed over time. Using the chi-squared test for independence, I understand tha...
g13341
[ 0.033561836928129196, 0.03699144721031189, 0.005933128297328949, -0.04121537134051323, -0.0435611717402935, -0.014048268087208271, -0.010533072985708714, -0.027157407253980637, -0.02347356453537941, 0.03475085273385048, 0.004717663861811161, 0.00325973448343575, 0.02556055597960949, -0.006...
<p>Hi all I have a question. Suppose</p> <p>$$X(t) = A \cos(t) + B \sin(t)$$ </p> <p>is a weakly stationary process, where $A$ and $B$ are random variables.</p> <p>Why is it that the mean of $A$ and $B$ are necessarily 0? As I understand it, weak stationarity only requires that the $E(X) = \mathrm{constant}$.</p>
g13342
[ 0.039281606674194336, -0.018416959792375565, -0.01277324091643095, -0.04367382451891899, 0.044735345989465714, -0.003672265447676182, 0.007164306472986937, 0.036524947732686996, -0.0042613414116203785, -0.020898398011922836, -0.029007641598582268, 0.03738311678171158, -0.0253146905452013, ...
<p>Based on a sample of $n$ survival times, I would like to estimate the probability of surviving time $t$, for some specific $t$, using the Kaplan-Meier estimator. Is it possible to do this in <code>R</code>? Please, note that $t$ is not necessarily an event time. </p>
g58309
[ -0.01853203773498535, -0.03221507743000984, 0.02221253514289856, 0.03598517179489136, -0.04668300598859787, -0.05088226497173309, -0.0020904510747641325, 0.03176616504788399, -0.06337562948465347, 0.058746088296175, -0.03999534994363785, -0.036302778869867325, -0.008769852109253407, 0.0577...
<p>I have done my Conjoint Analysis (fractional factorial design) but when it comes to validating the model, it shows a Kendall's tau for Holdouts of 0.33 and not significant. But Pearson's R and Kendall's tau are high and significant which is supposed to show that the fit of my model is good...</p> <p>How do I interp...
g58310
[ 0.029758840799331665, -0.051981642842292786, 0.011103271506726742, -0.04566780477762222, 0.03397871181368828, -0.018469946458935738, 0.03789776936173439, 0.0867312103509903, -0.04044155031442642, -0.08197280764579773, 0.014458106830716133, 0.013684399425983429, 0.03328726813197136, 0.00629...
<p>This question is similar to the one posed here: <a href="http://stats.stackexchange.com/questions/12164/testing-significance-of-peaks-in-spectral-density">Testing significance of peaks in spectral density</a></p> <p>In that post, Pantera asks how to test whether a peak in a periodogram has a spike that is significa...
g42215
[ 0.019224561750888824, 0.007356361486017704, -0.032934486865997314, 0.0057082995772361755, 0.005159571301192045, -0.019802061840891838, 0.06701288372278214, -0.021096207201480865, -0.04944233223795891, -0.027827512472867966, -0.01724267192184925, 0.06517570465803146, 0.06911669671535492, -0...
<p>I'm reading John Kruschke's <a href="http://www.indiana.edu/~wim/docs/1_14_2011_slides.pdf">"Doing Bayesian Data Analysis" slides</a>, but actually have a question about his interpretation of t-tests and/or the whole null-hypothesis significance testing framework. He argues that p-values are ill-defined because they...
g58311
[ 0.06736200302839279, 0.016498176380991936, -0.02183772251009941, -0.023443737998604774, 0.029680728912353516, -0.013752836734056473, 0.018930351361632347, -0.00923555064946413, -0.08403889089822769, -0.009138066321611404, 0.03129717335104942, -0.005545138847082853, 0.047360651195049286, 0....
<p>I'm trying to calculate marginal effects (and their confidence intervals) for an interaction variable. </p> <p>I'm using Stata and have panel data (pooled cross-sectional time series). I am using the <code>xtpcse</code> command.</p> <p>For some reason the results calculated using Stata's <code>margins</code> comma...
g42216
[ 0.011176361702382565, -0.0556630864739418, -0.0028735019732266665, -0.03364833444356918, 0.04606395959854126, -0.005721400026232004, 0.045507874339818954, 0.02353595569729805, -0.03877560421824455, -0.03476148471236229, 0.03771912679076195, 0.06536383926868439, 0.03569907322525978, -0.0128...
<p>I am quite new in the field of mixed-effect modeling. For a beginner like me, I guess I combine several levels of complication in my analysis: paired observations &amp; bounded response variables. I hope to be clear in my description and to get some useful comments, at least on some of the challenges I face. Thanks ...
g13345
[ -0.009785515256226063, -0.047568999230861664, -0.02628333307802677, -0.06808033585548401, 0.023487655445933342, 0.016002077609300613, 0.05184861272573471, -0.013140316121280193, -0.02749149315059185, -0.008653078228235245, 0.018827764317393303, 0.03742629289627075, 0.020755769684910774, 0....
<p>(We may just assume single parameter model and single variable data for this discussion).</p> <p>I understand that the "observed information" evaluated at the MLE measures the curvature and hence gives a gauge of how much information our data is giving us. "Observed information" here refers to having already obtain...
g58312
[ -0.005622711032629013, 0.02714719995856285, -0.021875742822885513, -0.02412792295217514, 0.030766796320676804, 0.007677736692130566, 0.030376289039850235, 0.032297126948833466, -0.05747561529278755, -0.013855348341166973, -0.017829906195402145, 0.020548271015286446, 0.09458600729703903, 0....
<p>I have created a logistic regression model in R. The dependent variable is binary whether or not a landscape transitioned to another cover class denoted by 1s and 0s, and the independent or predictor variables are some characteristics of the landscapes such as elevation, slope, distance to urban areas, etc. I need t...
g40225
[ -0.02368217706680298, -0.037659358233213425, 0.0022244369611144066, -0.0360952764749527, -0.025812774896621704, -0.02692875824868679, 0.0023738606832921505, -0.012993511743843555, -0.02292330376803875, 0.006051685661077499, 0.020619556307792664, 0.06702657043933868, 0.06518193334341049, 0....
<p>I'm trying to recreate some test statistics that use the infinite AR representation of normal ARMA models. I found out about the function ARMAtoMA but have not been able to find the same functionality for AR representations as well. Do you guys know of a package that would make extracting them easy? I was hopeful wh...
g42218
[ -0.0014546734746545553, -0.009810819290578365, 0.007396334782242775, -0.0742810070514679, 0.018208475783467293, -0.027691207826137543, 0.023440124467015266, 0.054474059492349625, -0.007037315517663956, 0.020985329523682594, -0.0049123908393085, -0.010915511287748814, -0.006994345691055059, ...
<p>I have the following problem:</p> <p>I have 100 unique items (n), and I'm selecting 43 (m) of them one at a time (with replacement).</p> <p>I need to solve for the expected number of uniques (only selected once, k = 1), doubles (selected exactly twice k = 2), tripples (exactly k =3), quads etc...</p> <p>I've been...
g40231
[ -0.036215640604496, 0.08667624741792679, 0.001024033292196691, 0.007450897712260485, 0.0015171788400039077, -0.07247067242860794, 0.027096545323729515, 0.05624616518616676, 0.06353510916233063, 0.03731798380613327, -0.0847870483994484, 0.01873694360256195, 0.015368134714663029, -0.00196640...
<p>I am trying to understand the difference between these parameters, and their application. Was hoping to get some correction/clarification to my statements. I have a training set and cross-validation set. I am using bayesian statistics, I realize AIC and BIC can't be used in this context.</p> <p>AIC and BIC assess h...
g42221
[ 0.0013104317476972938, -0.017437774688005447, 0.013576464727520943, -0.03741191327571869, 0.0380861833691597, 0.03620521351695061, 0.04170392081141472, 0.06582512706518173, -0.061699945479631424, -0.010343175381422043, -0.009381718933582306, 0.05286199226975441, 0.07546518743038177, -0.001...
<p>So my basic understanding is that I may end up in one of the following situations.</p> <ul> <li><p>I have a sample mean and therefore calculate a sample variance</p></li> <li><p>I have a population mean sand calculate a population variance.</p></li> </ul> <p>Though in one book I have been reading it looks like teh...
g34903
[ 0.045786868780851364, 0.011662580072879791, -0.001982957823202014, -0.0297272689640522, 0.026713358238339424, 0.04024296626448631, 0.011439775116741657, 0.09024252742528915, 0.0007190261385403574, -0.058288004249334335, -0.023024993017315865, 0.04309763386845589, 0.03265590965747833, -0.00...
<p>I ran a multiple regression using 10 independent variables and the single dependent variable (consumer complaining behaviour). One of those independent variables was gender. The $R^2$ for the model itself was $.157 (F= 20.50, p = .000)$ which whilst not the highest $R^2$ score was at least significant. Down in the c...
g13349
[ -0.00555142667144537, -0.026350172236561775, -0.00990290567278862, 0.01695636287331581, 0.029874490574002266, 0.01722102425992489, 0.017390994355082512, -0.03653812035918236, -0.05919811129570007, -0.03381549194455147, -0.04055522754788399, 0.04315391182899475, 0.009040565229952335, 0.0281...
<p>What cluster method would be appropriate for a study with 16 variables both categorial and quantitative? It is a repeated measures observational study. I read in a text that k-means would be best if the data was mostly quantitative although I may have interpreted that wrong.</p> <p>Also, what methods are best for t...
g33476
[ 0.026602359488606453, -0.012764601036906242, 0.022165248170495033, -0.02281501702964306, -0.004429894033819437, -0.06170199066400528, -0.03581409528851509, -0.008772428147494793, -0.0077993059530854225, -0.02170262113213539, 0.03451975807547569, -0.0057812840677797794, 0.05357453227043152, ...
<p>Can anyone tell me how to obtain the 95% confidence intervals for the x and y coordinates of the vertex (peak in my case) of a quadratic fit? Is there a way to get these CIs in R? Thanks.</p>
g58313
[ 0.04436621814966202, 0.019826173782348633, -0.028787977993488312, 0.030414611101150513, -0.010613781400024891, -0.0160974133759737, 0.014103823341429234, -0.02154003269970417, -0.013333925046026707, 0.047652408480644226, -0.029431955888867378, 0.028662927448749542, 0.033347029238939285, -0...
<p>Say we have a Markov Chain with probability matrix </p> <p>$$ P = \begin{pmatrix} 0.25 &amp; 0.25 &amp; 0.5 &amp; 0 &amp; 0 \\ 0 &amp; 0.66 &amp; 0 &amp; 0.33 &amp; 0 \\ 0 &amp; 0.25 &amp; 0.25 &amp; 0.25 &amp; 0.25 \\ 0.5 &amp; 0 &amp; 0 &amp; 0.25 &amp; 0.25 \\ 0 &amp; 0 &amp; 0 &amp; 0.2 &amp; 0.8 \end{pmatrix} ...
g58314
[ 0.02044035866856575, -0.021453257650136948, 0.010120641440153122, -0.013438880443572998, 0.01435516681522131, -0.03085384890437126, 0.009559961967170238, 0.005060960538685322, -0.000040918188460636884, -0.035743050277233124, -0.04698741063475609, 0.06563317775726318, 0.02462720312178135, -...
<p>For a distribution, let's say I know the scores at the 10th, 30th, 50th, 70th and 90th percentiles. I also know the interquartile range and range. Is it possible to get the exact percentile rank of a given score? I'll be using R if that makes things any easier.</p> <p>As a more concrete example, I have the followin...
g13353
[ -0.005578453186899424, -0.03461062163114548, -0.011333657428622246, -0.058054760098457336, -0.010586951859295368, -0.025987787172198296, -0.03704211860895157, 0.019993163645267487, -0.06292035430669785, -0.02641691081225872, 0.006804484874010086, 0.01968904212117195, 0.019678810611367226, ...
<p>I have data of the price of a product before a newer version came out and after a newer version came out. I'd like to model the slope of the product pre the new product, and post the new product. </p> <p><img src="http://i.stack.imgur.com/ffsHQ.png" alt="enter image description here"></p> <p>Looking at the data, i...
g58315
[ 0.020880449563264847, -0.06543785333633423, -0.01641250215470791, -0.012423592619597912, 0.021569661796092987, -0.019914740696549416, 0.039263803511857986, 0.0009578499593771994, -0.07899069786071777, 0.013451151549816132, -0.02591043896973133, 0.02458002232015133, 0.07226128876209259, -0....
<p>Using a large, cross-sectional survey of victims of violence, I am interested in testing the effect of alcohol intoxication (let's call it the 'treatment') on victims' subjective rating of the seriousness of the assault (outcome).</p> <p>I have run regression analyses to explore factors associated with seriousness ...
g58316
[ 0.006113430950790644, -0.014103702269494534, 0.01251091156154871, -0.02530713565647602, -0.008903233334422112, 0.0061223772354424, 0.046651002019643784, 0.054832782596349716, 0.013704060576856136, 0.0008482085540890694, 0.039993807673454285, -0.04209607467055321, -0.015936357900500298, -0....
<p>I've a question regarding principal component regression (regression of a DV on principal components). I have 4 components in my PCR and the third component is non-significant as a predictor. What does that mean? It's curious that the "weaker" fourth component however is significant. Can anyone explain this to me?</...
g49526
[ 0.006403540726751089, -0.027562346309423447, -0.0029620740097016096, -0.03226947784423828, 0.016694417223334312, -0.01313481479883194, 0.05816204100847244, 0.06044241040945053, -0.0027562780305743217, -0.03162267059087753, -0.00015033620002213866, 0.02082650549709797, -0.028309641405940056, ...
<p>Suppose I have a function which is a solution of an ODE with varying-coefficients.Based on the simulation from the function plus Gaussian noise, I use 2nd order ODE to model the simulated data.</p> <p>But even I got good estimate of solution function, I have a very different estimates of varying coefficients.</p> ...
g58317
[ 0.016807958483695984, -0.07093958556652069, 0.013892490416765213, -0.050825975835323334, 0.08812231570482254, -0.04414017125964165, 0.05646435543894768, -0.04881156608462334, -0.028878701850771904, 0.012499015778303146, -0.06899947673082352, 0.06805232912302017, 0.06101653724908829, 0.0450...
<p>Say some previous findings identified a curvilinear effect of X on Y, (specifically that X had a positive effect on Y, and that X^2 had a negative effect). You want to see if the same holds for your entirely different sample (although everything else between studies, constructs/measures, are exactly the same). Neith...
g42232
[ 0.029504381120204926, -0.026140308007597923, 0.011240633204579353, -0.07032999396324158, 0.00392207782715559, -0.03962010145187378, 0.0421098992228508, -0.017928704619407654, -0.009900528937578201, -0.028593197464942932, 0.04753663390874863, 0.035004012286663055, 0.06157311424612999, 0.064...
<p>I'm interested in learning how to create the type of visualizations you see at <a href="http://flowingdata.com">http://flowingdata.com</a> and informationisbeautiful. EDIT: Meaning, visualizations that are interesting in of themselves -- kinda like the NY Times graphics, as opposed to a quick something for a report....
g58318
[ 0.011661728844046593, 0.06653505563735962, -0.024368537589907646, -0.021938322111964226, 0.006805704440921545, -0.013014653697609901, -0.02897634729743004, 0.0034381814766675234, -0.0011242737527936697, -0.07351162284612656, 0.01915537752211094, -0.03982210531830788, 0.1748066395521164, -0...
<p>All of my variables are continuous. There are no levels. Is it possible to even <em>have</em> interaction between the variables?</p>
g49605
[ 0.027816811576485634, -0.04977003112435341, -0.0038267625495791435, -0.008622242137789726, 0.011172895319759846, 0.02231690287590027, 0.0030905641615390778, -0.0022509016562253237, -0.05506513640284538, -0.02418982796370983, -0.024406250566244125, -0.018300147727131844, -0.0564565546810627, ...
<p>Unlike other articles, I found the <a href="http://en.wikipedia.org/wiki/Regularization_%28mathematics%29">wikipedia</a> entry for this subject unreadable for a non-math person (like me).</p> <p>I understood the basic idea, that you favor models with fewer rules. What I don't get is how do you get from a set of rul...
g13360
[ 0.04103256016969681, 0.058637604117393494, -0.046873319894075394, -0.0012509817024692893, 0.032815705984830856, -0.06442951411008835, 0.024198265746235847, 0.029963800683617592, -0.037957608699798584, -0.01530365739017725, -0.04767735302448273, 0.01564592309296131, 0.038421157747507095, -0...
<p>I have conducted a one-way ANOVA on 8 groups. I understand that the degrees of freedom for that test is 7, but I don't understand how to ascertain the degrees of freedom for the post hoc tests:</p> <p>I conducted a series of t-tests as the multiple comparison post-hocs using the Holm-sidak method of familywise err...
g1003
[ -0.0028841618914157152, -0.026209073141217232, -0.0036690838169306517, -0.03589827939867973, 0.01646604761481285, -0.07791578769683838, 0.055607471615076065, 0.0134676992893219, -0.0031432011164724827, -0.003518069628626108, -0.04773992300033569, -0.025442766025662422, -0.054423797875642776,...
<p>From <code>?combine</code> in <a href="http://cran.r-project.org/web/packages/randomForest/" rel="nofollow">randomForest</a>:</p> <blockquote> <p>The confusion, err.rate, mse and rsq components (as well as the corresponding components in the test compnent, if exist) of the combined object will be NULL.</p> </...
g58319
[ 0.028182975947856903, -0.04532282054424286, -0.021185563877224922, -0.010020717978477478, 0.07171688973903656, -0.05823160707950592, -0.010090110823512077, 0.05714824050664902, -0.008481946773827076, -0.050739843398332596, -0.0034704001154750586, 0.03205178305506706, 0.0950772613286972, 0....
<p>I have used <strong>aplpack</strong> package <code>faces()</code> method in R for drawing a Chernoff graph of the following data. I would like to draw a face with only four variables <code>a</code>, <code>b</code>, <code>c</code>, and <code>d</code> in order to explain why program <code>A</code> is better than progr...
g58320
[ 0.05954970419406891, -0.004536022897809744, 0.009153163060545921, -0.03276702016592026, -0.0005806714179925621, -0.07130797207355499, 0.022614121437072754, -0.008555060252547264, -0.03613054007291794, -0.032229818403720856, -0.012110534124076366, 0.010865150950849056, 0.0028042022604495287, ...
<p>Suppose you had a method for estimating the population covariance of a vector-valued random variable given observations of that random variable, say $f(Z) \rightarrow C$, where the rows of $Z$ are observations of the random variable. Can one abuse this process to perform a least squares regression $y = x^T\beta + \e...
g13365
[ 0.024107517674565315, -0.0663376897573471, 0.006966177839785814, -0.05025453120470047, -0.018341869115829468, -0.046523015946149826, 0.035272203385829926, 0.0003387526667211205, -0.038369663059711456, -0.02425052784383297, 0.04997553676366806, 0.008218790404498577, 0.02454802393913269, 0.0...
<p>I have a few (5-6) data sets, each is a function of time, with the time span the same between datasets. These datasets are all statistics of various perspectives of something (the partitions of a graph), and I am trying to find points in time which show interesting changes across the different datasets. Normally t...
g58321
[ 0.03629426658153534, -0.0006990176625549793, -0.0016474368749186397, -0.02038814127445221, 0.02713344246149063, -0.07060955464839935, -0.010651515796780586, 0.0037401816807687283, -0.039277758449316025, 0.010752499103546143, 0.01058329176157713, 0.027302242815494537, 0.09511473029851913, 0...
<p>I am about to help teach statistics to medical students this semester.</p> <p>I've heard many horror stories about the fear of these students from learning statistics.</p> <p>Can anyone suggest what to do with this fear? (Either links to people who are discussing this, or offer suggestions from your own experience...
g13366
[ 0.005625253077596426, 0.033344071358442307, -0.006695487070828676, -0.005241689272224903, -0.0199687872081995, 0.026986168697476387, -0.03209855780005455, -0.02086460404098034, 0.030828816816210747, -0.039563678205013275, 0.036630358546972275, 0.05705609172582626, 0.03572845831513405, -0.0...
<p>I have around ten groups (of companies). Each group is connected with each other group. The data I have is representing the strength of the connection. Imagine it's the number of times someone from group A sent an email to group B.</p> <p>The strength of a connection can be 0. There are two connections between two ...
g58322
[ 0.004711093381047249, 0.008984393440186977, -0.012270741164684296, -0.10068610310554504, -0.01341311912983656, -0.05468219146132469, -0.009360557422041893, 0.011370589025318623, -0.06517651677131653, -0.011991712264716625, 0.05455418676137924, -0.0017757001332938671, 0.0505705364048481, 0....
<p>Let's say I have a point $P_1$ on a 2D scatter plot. The coordinates of $P_1$ are $(x_1, y_1)$. $x_1$ has a standard deviation of $\pm u_1$ and $y_1$ has a standard deviation of $\pm v_1$.</p> <p>I also have a point $P_2$. The coordinates of $P_2$ are $(x_2, y_2)$, with standard deviations of $\pm u_2$ and $\pm v_2...
g58323
[ 0.013202822767198086, 0.01090226974338293, -0.01874050498008728, -0.0027025570161640644, 0.009548941627144814, 0.0107665304094553, -0.005713693331927061, 0.000649218971375376, -0.019808433949947357, -0.0012971400283277035, 0.03911808878183365, 0.03741064295172691, 0.06276112794876099, -0.0...
<p>I have a problem with a number of inputs and one binary output, which I have tried to train several classifiers to solve. Unfortunately, none of the classifiers (MLP, SVM, bagging) have achieved the required level of accuracy. </p> <p>I am thinking of subdividing the problem by splitting the dataset into two, and u...
g58324
[ 0.04606569930911064, 0.005287748761475086, 0.018161289393901825, -0.028072264045476913, 0.01419605128467083, 0.004940086975693703, 0.018219290301203728, 0.03361815586686134, -0.028794050216674805, -0.03096829168498516, -0.011625277809798717, 0.0032825686503201723, 0.05786021798849106, 0.00...
<p>I am correlating two features in the leaves of a dendrogram for a given tree distance (2,3,...). </p> <p>When i find the pair "A-B" at distance x I will also have the duplicate "B-A" in the same set for distance x along the tree branches. The result is that for every two leaves i will have for example a pair of (x=...
g58325
[ -0.009716471657156944, -0.007139671593904495, -0.009090951643884182, -0.03920300304889679, 0.02759047970175743, -0.014894042164087296, 0.03176511824131012, 0.006692046765238047, 0.008439626544713974, 0.012208005413413048, 0.027007389813661575, 0.009981074370443821, 0.0246054008603096, 0.00...
<p>I am quantifying a measure of correlation in a graph/network under two different experimental conditions to determine whether there is a significant difference in the measure given by the change of condition. I am repeating this computation for a number (N=5) of heterogeneous graphs/networks in the sense that they m...
g58326
[ 0.028273122385144234, 0.01736672781407833, -0.012535751797258854, -0.044870298355817795, -0.007669416721910238, -0.04106517508625984, 0.056802645325660706, 0.0022931485436856747, -0.021273061633110046, -0.00885765254497528, 0.04654839634895325, 0.005386329255998135, -0.004553453531116247, ...
<p>Working on a problem of extracting a minimal sub-set of criteria in a siting problem, I resorted to PCA, I have only 26 individuals (measures), I naturally thought it would be wise to ask whether that number is sufficient or not. I do obtain results, that's not the issue, I just wonder if I can trust them or not. <...
g58327
[ -0.03082960471510887, 0.024720698595046997, 0.008988656103610992, -0.012601284310221672, -0.027309104800224304, -0.03601561114192009, 0.01076667383313179, 0.009644068777561188, -0.018862275406718254, -0.03286280855536461, 0.0035432695876806974, -0.005505486391484737, -0.07516400516033173, ...
<p>I have a list of numeric vectors, not necessarily all the same length.</p> <p>I'd like to get a plot where each vector in the list is plotted vertically above a label for that vector on the x-axis.</p> <p>Is there an "automatic way" to do that in R?</p> <p>Here's an example set of data: </p> <pre><code> yl = str...
g58328
[ 0.035746004432439804, -0.006155852228403091, -0.006553831975907087, -0.040321774780750275, -0.062178466469049454, -0.043406225740909576, 0.019144708290696144, -0.0619615763425827, -0.07007038593292236, 0.01554945483803749, 0.02354341559112072, 0.05920436233282089, -0.013511117547750473, -0...
<p>What is the appropriate (or the advantages of disadvantages for each) measure for weighting mortality rates across countries: total population or total number of deaths?</p> <p>For example, if you have age-standardized cardiovascular disease mortality rates for 5 different-sized but otherwise comparable countries a...
g58329
[ 0.04673464223742485, 0.03069469705224037, 0.018855538219213486, -0.015583189204335213, -0.004385384730994701, 0.01956827938556671, 0.019678937271237373, -0.004898764193058014, -0.03295166417956352, -0.013548041693866253, 0.028236927464604378, -0.04782139137387276, 0.049013491719961166, 0.0...
<p>Lets say I have multiple table representing 10 countries, and tables contains <code>user_id</code>, and <code>user_score</code>.</p> <p>Example:</p> <pre><code>Table CountryA Table CountryB user_id | user_score user_id | user_score --------------------- -----------------...
g58330
[ -0.00905750971287489, 0.022016026079654694, -0.028096184134483337, -0.02480020932853222, 0.030856674537062645, -0.03494990989565849, 0.028488516807556152, -0.0002456468064337969, -0.06605371087789536, -0.018883485347032547, 0.007437625899910927, 0.015873601660132408, 0.07354222238063812, -...
<p>I have several discrete datasets with a small range (-2 to +2) which I want to test against the null hypothesis "the distribution is centred around zero".</p> <p>The Wilcoxon signed-rank test was suggested to me as an appropriate choice, and some answers on this site back this up. The issue is that, for some datase...
g58331
[ 0.04743953049182892, -0.01999225653707981, -0.00761383306235075, -0.039462074637413025, 0.009314614348113537, -0.012408541515469551, 0.0008856731583364308, 0.013997901231050491, -0.0055686961859464645, -0.06050059199333191, 0.019363773986697197, 0.03590519353747368, 0.01238633319735527, -0...
<p>I would like to ask what is the specific objective function that Scikit-learn's Random Forest classifier is optimizing at each node for the "Entropy" option.</p> <p>My understanding is that entropy is used as a measure here to split the training data reaching a particular node to the left and right subtree by ensur...
g58332
[ -0.0385282002389431, -0.022963250055909157, 0.028920475393533707, -0.08795679360628128, 0.017853815108537674, -0.061544716358184814, 0.009926366619765759, 0.030051812529563904, -0.033602479845285416, -0.013704081997275352, -0.008058256469666958, -0.003532902104780078, 0.05455420911312103, ...
<p>I'm trying to identify numeric properties of a text message that make it a spam or, more specifically, a bad question on sites like this one. For example, would things like capital letter density matter? Can anyone make any suggestions based on experience?</p>
g58333
[ -0.013222710229456425, 0.030103687196969986, 0.016486071050167084, -0.05917501077055931, 0.023641178384423256, -0.017372963950037956, -0.003975680563598871, -0.01128710713237524, 0.038799948990345, 0.012269046157598495, 0.0011049675522372127, 0.03188379853963852, 0.052535224705934525, 0.00...
<p>Suppose I have an $m$ by $n$ table $X_{ij} \in \{0,1\}$, where in each row, $r$ randomly chosen entries are set to 1 (the rest are 0), i.e. $\sum_j X_{ij}=r$.</p> <p>I know that e.g. the column sum $\sum_i X_{i1} $ has a binomial distribution $\mathrm{Bin}(m, r/n) $. But what is the joint distribution of all column...
g58334
[ 0.002495128195732832, 0.03424420580267906, -0.028422091156244278, 0.022699380293488503, -0.009929767809808254, -0.046774763613939285, 0.046534910798072815, -0.016277775168418884, -0.014811117202043533, -0.017480745911598206, -0.06583014875650406, 0.01498707477003336, 0.022118864580988884, ...
<p>In the Poisson binomial distribution each trial is either yes (1) or no (0). Is there a distribution where each trial is either yes (N) or no (0)? </p> <p>I'd like to model a situation where I have, for example, 10 workers. Each worker can produce $N$ units of good in one day or fail with known probability and pro...
g58335
[ -0.028747914358973503, 0.01772022619843483, 0.007932553999125957, -0.03689919784665108, 0.0037108950782567263, -0.02625329978764057, -0.027659177780151367, 0.003833102062344551, -0.03539149835705757, -0.051126301288604736, -0.05357706546783447, -0.040670011192560196, -0.04267680644989014, ...
<p>I clustered my dataset of several thousand first-order Markov chains into about 10 clusters.</p> <p>Is there some recommended way how I can evaluate these clusters and find out what the items in the clusters share and how they differ from other clusters? So I can make statement like "Processes in cluster A tend to...
g58336
[ -0.02726615034043789, 0.03216588497161865, -0.020523682236671448, -0.031259018927812576, -0.001847467035986483, -0.10911875218153, 0.03235464543104172, 0.022259851917624474, -0.020362500101327896, -0.019278353080153465, -0.004909536801278591, 0.02667175978422165, 0.09244287014007568, 0.036...
<p>I have a study in which participants facebook profiles were rated by a group of students. The participants were then randomly allocated into one of three groups: the <strong>uncertain condition</strong> (where they could have been assigned either a liked-best or liked-least rating but they are not told which one), t...
g58337
[ -0.03757172450423241, -0.026266222819685936, -0.027265697717666626, -0.019930629059672356, 0.00885851588100195, 0.027659498155117035, 0.020835883915424347, -0.0003530245739966631, -0.03284632787108421, -0.01748860999941826, -0.005471688229590654, 0.0079331761226058, -0.020231738686561584, ...
<p>I'm working on a problem to predict/classify overall sentiment of a large amount of text, which I can verify on the next day. Each data point is a day and is composed of multiple articles. I bin the words by frequency in those articles to train a Bayesian classifier.</p> <p>I tried predicting the sentiment using al...
g58338
[ -0.004319558851420879, 0.0019275774247944355, -0.003559437347576022, -0.03411843627691269, -0.03721430152654648, -0.06467556208372116, 0.013838301412761211, 0.03213542327284813, -0.031142693012952805, -0.01898103766143322, 0.043966297060251236, 0.013226129114627838, 0.04696543887257576, 0....
<p>What is the canonical example which show situation when robust linear regression has advantage over least square linear regression ? I was trying to simulate situation when some errors (20% of them) are generated from t-student distribution and 80% are from normal - both distribution with the same variance ! on data...
g58339
[ 0.0324426107108593, -0.06193266063928604, 0.005694386549293995, -0.005594128742814064, -0.035281091928482056, -0.017176354303956032, 0.04780474305152893, -0.0003749513125512749, -0.024098433554172516, -0.02865641936659813, 0.04393482580780983, 0.02168845757842064, 0.05199472978711128, -0.0...
<p>It is well known that confidence intervals and testing statistical hypothesis are strongly related. My questions is focused on comparison of means for two groups based on a numerical variable. Let's assume that such hypothesis is tested using t-test. On the other side, one can compute confidence intervals for means ...
g49439
[ 0.013512291945517063, 0.011071999557316303, 0.0047018569894135, -0.010551583021879196, -0.030571933835744858, 0.05850841477513313, -0.017830656841397285, 0.00644141249358654, -0.059253063052892685, -0.03290729969739914, 0.02056102268397808, 0.006015352439135313, 0.010256612673401833, 0.013...
<p>Common data-based variable selection procedures (for example, forward, backward, stepwise, all subsets) tend to yield models with undesirable properties, including:</p> <ol> <li>Coefficients biased away from zero.</li> <li>Standard errors that are too small and confidence intervals that are too narrow.</li> <li>Tes...
g58340
[ 0.019287897273898125, -0.03548102825880051, 0.006043128203600645, -0.011278786696493626, 0.006834722589701414, -0.016846826300024986, 0.03058052994310856, 0.048373471945524216, 0.012423274107277393, 0.010852701961994171, 0.03308963403105736, -0.017805811017751694, -0.01426706276834011, 0.0...
<p>I have a set of data, each element has a weight. I need to estimate the mean of this data. I found that there are two ways: A weighted geometric mean and a weighted mean. When should I use each of them and what are the advantages of using each of them?</p>
g49829
[ 0.04042490944266319, -0.004620418418198824, 0.01335606537759304, -0.04410769045352936, 0.05204690620303154, 0.0042167347855865955, -0.025479134172201157, -0.0010579071240499616, -0.08905825018882751, -0.010630699805915356, 0.003778024110943079, 0.037185847759246826, 0.02479463815689087, 0....
<p>Weekly's demand of a product has a probability function</p> <pre><code>Demand, x Probability (fx) ------------------------ 0 0,1 1 025 2 0,4 3 0,15 4 0,10 5 or more 0 </code></pre> <p>I have difficult to find out the </p> <ul> <li>expected value, </li> <li>va...
g58341
[ 0.0036226059310138226, 0.04595405235886574, -0.023965738713741302, -0.0589531809091568, -0.03433483839035034, -0.018730031326413155, 0.03130413219332695, 0.027480684220790863, -0.016154538840055466, -0.07445032149553299, -0.013899609446525574, 0.0013022619532421231, 0.017301594838500023, -...
<p>Consider the plot attached as the histogram of the outcome ($Y$) that is going to be the outcome in a linear regression. Clearly, the histogram shows the outcome is not normally distributed. How can I come up with a transformation that makes the data be normal so that I can fit a linear regression?</p> <p>My goal i...
g58342
[ 0.006251172162592411, -0.030144046992063522, -0.024383779615163803, -0.07756026089191437, 0.008729245513677597, -0.02617599256336689, 0.0202639140188694, 0.05554413050413132, -0.025816254317760468, -0.019548607990145683, 0.01876058615744114, -0.011949817650020123, 0.04855592921376228, -0.0...
<p>I've looking around Google Scholar for the earliest mention of this particular classifier and have not had much luck finding a definitive source. I've seen some sources cite as late as the 1980s and other as early as the 1930s. Does anyone know when the Naïve Bayes Classifier was developed and/or first used as a cla...
g2876
[ 0.06978937238454819, -0.022300459444522858, 0.031011493876576424, -0.033994074910879135, -0.04609550163149834, -0.019432229921221733, 0.036681756377220154, 0.004094122443348169, -0.053590431809425354, -0.05095479637384415, -0.00030044338200241327, 0.041716642677783966, 0.08510997146368027, ...
<p>Let ${(x_1,x_2,z_1,z_2)}$ be real-valued vectors of equal length with </p> <p>$${\hat{r}_p(x_1,x_2) \approx \hat{r}_p(z_1,z_2) &gt; 0}$$</p> <p>$${\hat{r}_p(x_1,z_1) \approx \hat{r}_p(x_2,z_2) &gt; 0}$$</p> <p>where $\hat{r}_p$ denotes the estimated Pearson correlation coefficient. Now perform two simple linear r...
g58343
[ 0.01114614773541689, -0.06566845625638962, -0.0017414519097656012, -0.017777016386389732, 0.0035601549316197634, -0.023441120982170105, 0.04300471395254135, 0.04836072772741318, -0.04993231222033501, 0.0011190478689968586, -0.01165042631328106, 0.019383462145924568, -0.011104644276201725, ...