question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>Find (without using MGF) the mean and variance.</p> <p>$$f(x) = \exp(-kx)x^{(r-1)}k^r/(r-1)!\ \text{ for }\ x&gt;=0$$</p> <p>$$f(x) = 0\ \text{ for }\ x&lt;0$$</p> <p>$r$ positive integer, $k&gt;0$</p>
g47703
[ 0.011868155561387539, 0.021616695448756218, -0.020166728645563126, -0.0027530237566679716, -0.004280009772628546, -0.031230967491865158, -0.03868555650115013, -0.010338054038584232, -0.016289889812469482, -0.04296940937638283, -0.028854211792349815, 0.053365033119916916, -0.01829361543059349...
<p>What is the definition of "feature space"?</p> <p>For example, When reading about SVMs, I read about "mapping to feature space". When reading about CART, I read about "partitioning to feature space".</p> <p>I understand what's going on, especially for CART, but I think that there is some definition that I have mis...
g67502
[ -0.000032653599191689864, 0.04584610462188721, 0.012270262464880943, -0.020077768713235855, -0.024115001782774925, -0.013098315335810184, 0.006016240455210209, 0.024723201990127563, -0.033967357128858566, -0.039984699338674545, -0.003998276311904192, 0.014879417605698109, 0.04853151366114616...
<p>I want to convolve two square pulses. One pulse say X starts from 0 to R.Other pulse say Y starts from -R to 0.Now to convolve these two pulses I just flip the pulse X and then move it to -infinity.Now, to convolve I will pass this pulse through pulse Y. The result will be a triangular waveform which starts from -R+...
g27069
[ 0.019600987434387207, -0.0333346426486969, 0.019934989511966705, -0.0009032389498315752, 0.050456851720809937, -0.004173743072897196, 0.01732844114303589, 0.03629869967699051, 0.00508322287350893, -0.026580972597002983, -0.03378421440720558, 0.04941382259130478, 0.02365945279598236, -0.047...
<p>I am looking for a method to transform my dataset from its current mean and standard deviation to a target mean and a target standard deviation. Basically, I want to shrink/expand the dispersion and scale all numbers to a mean.</p> <p>It doesn't work to do two separate linear transformations, one for standard devi...
g49745
[ 0.0010723528685048223, -0.01858316920697689, -0.003174592275172472, -0.0702608972787857, -0.043092988431453705, 0.0013249606126919389, -0.03572859987616539, 0.029006408527493477, -0.06843061000108719, -0.06083788350224495, 0.004161756951361895, -0.006329890340566635, 0.08002488315105438, -...
<p>To help me focus on which pages on a site to improve, I'm looking at user feedback to the question "Was this page helpful?" (Answers are "Yes" or "No".)</p> <p>The response rate (responses divided by unique pageviews) varies across different pages. And in fact the pages with low response rate also tend to have a hi...
g67503
[ -0.012519651092588902, 0.04079802334308624, 0.007898776791989803, 0.012415416538715363, -0.01529019232839346, 0.029785051941871643, 0.025763992220163345, 0.03041103668510914, 0.04198046773672104, -0.007568657863885164, 0.09359050542116165, -0.026711512356996536, 0.03624052181839943, 0.0632...
<p>I have read <a href="http://stats.stackexchange.com/questions/13000/random-effect-nested-under-fixed-effect-model-in-r">Random effect nested under fixed effect model in R</a>, but I have a doubt:</p> <p>My data is on germling survivorship, I have <code>Temperature</code> as a fixed factor (2 levels), <code>pH</code...
g27070
[ 0.01316115166991949, -0.0736459419131279, -0.0043056015856564045, -0.020796366035938263, 0.039634909480810165, 0.01705317758023739, 0.0007539179059676826, 0.04593474790453911, -0.029558274894952774, -0.00591950723901391, -0.006044719368219376, 0.06984048336744308, 0.04967506602406502, 0.00...
<p>Using any supervised classifier, we can usually get the probability that a data point $x$ belongs to each class $y_i$, i.e. $P(y_i|x)$.</p> <p>However, in the case where the data-point x may belong to none of the known classes, how can we get the probability $P(?|x)$, which means that x belongs to an unknown class ...
g67504
[ 0.014804589562118053, -0.017275774851441383, -0.003917433321475983, -0.021145928651094437, 0.05508599430322647, -0.00676650321111083, 0.000780044705606997, 0.04873731732368469, -0.0097982631996274, -0.07234953343868256, -0.05492590740323067, 0.06549197435379028, 0.03269721195101738, -0.012...
<p>I want to predict reaction times using several personality scores. I have 9 different personality scores. My sample consists of 23 participants. Aren't there too many predictors if I put all 9 in one model, especially regarding the small sample size? If not, how could I choose predictor? The theory does not state an...
g67505
[ 0.03029566816985607, 0.018975669518113136, 0.020966876298189163, -0.03695176914334297, -0.006655231583863497, -0.06370582431554794, 0.04864433407783508, 0.02175535261631012, 0.007496257778257132, -0.04722822830080986, 0.018231356516480446, -0.05304011330008507, 0.0006524972268380225, 0.015...
<p>I've attached a picture of the time series I'm talking about. The top is the original series, the bottom is the differenced series. </p> <p>Each data point is a 5 minute average reading from a strain gauge. This strain gauge is placed on a machine. The noisy areas correspond to areas where the machine is turned on,...
g67506
[ 0.008081954903900623, -0.05193508788943291, -0.016975440084934235, -0.0493934340775013, -0.010897630825638771, -0.02712097018957138, 0.02615693211555481, -0.037823233753442764, -0.0624515675008297, 0.016305461525917053, -0.003258335404098034, 0.04136934503912926, 0.03595121204853058, 0.026...
<p>I have a dataset where empirical intuition say I should expect a weekly seasonality (i.e., the behavior in saturday and sunday is different from the rest of the week). Should this premise be true, shouldn't an autocorrelation graph give me bursts at lag multiples of 7?</p> <p>Here's a sample of the data:</p> <pre>...
g67507
[ 0.029543021693825722, -0.015778634697198868, -0.012463697232306004, -0.06268426030874252, 0.00791444443166256, -0.036292336881160736, 0.05885622650384903, -0.01785324327647686, -0.008676202036440372, -0.0793353021144867, 0.020322738215327263, 0.0331970751285553, 0.0839235782623291, -0.0113...
<p>I'm a first year PhD student and I am a bit at a loss regarding which test to use, and how to calculate power for a grant proposal. Any help will be much appreciated!</p> <p>I'm running all my participants in two conditions (positive/negative), so a within-subject design</p> <p>My dependent variable is continuous<...
g67508
[ 0.019309505820274353, -0.021371524780988693, -0.015414449386298656, -0.07071954011917114, -0.055324241518974304, -0.013615114614367485, -0.013921273872256279, 0.06472944468259811, -0.014928747899830341, 0.0036514131352305412, 0.0840018168091774, 0.04930116608738899, -0.031491126865148544, ...
<p>I found out that the function <code>jags()</code> in the <code>R2jags</code> package sometimes does not remove the burn in part even with the option <code>n.burnin=##</code>. Here is a very simple example in <code>R</code> (a simple linear model):</p> <pre><code>library(R2jags) N &lt;- 1000 y &lt;- rnorm(N) x &lt;...
g49482
[ 0.03977441042661667, -0.036190830171108246, -0.01566409133374691, -0.017745021730661392, 0.03429980203509331, -0.03657984361052513, 0.04173588752746582, -0.00499374745413661, -0.06403946876525879, -0.01547615509480238, -0.02778877131640911, 0.05183543637394905, -0.0011737837921828032, 0.09...
<p>At the moment I'm working with an algorithm that calculates probabilities $Z$ for a finite sequence of data points $X= \left\{ x_1,x_2,...,x_n \right\}$ using an expression like:<br> $p(Z_i| X_i,\theta) = \frac{1}{\phi}f(X_i,\theta)$,<br> where $\phi$ is a normalising constant such that $\sum_n p(Z_n|X_n) = 1$. (i.e...
g67509
[ 0.011035152710974216, -0.00890684500336647, -0.0016500339843332767, 0.004561406560242176, -0.02871711365878582, -0.030857117846608162, 0.05681862309575081, 0.03338805213570595, -0.08451501280069351, -0.0025510655250400305, -0.017991123721003532, 0.01681399531662464, -0.00007035173621261492, ...
<p>Just a question about how robust standard errors are fitted in marginal models with GEE: I noticed that if I try to fit a model with clusters of size 1 (i.e. no clustering, therefore no intra-cluster correlation), the variance is not the same as the one I would get with a standard GLM.</p> <p>Here is an example wit...
g40220
[ 0.015224316157400608, -0.027333397418260574, -0.01025516726076603, -0.0341540165245533, -0.013224967755377293, 0.021769056096673012, 0.0387856550514698, 0.02211315557360649, -0.0723990648984909, -0.007862289436161518, 0.049553193151950836, -0.017521874979138374, 0.03431365266442299, -0.024...
<p>Could someone please give an explanation of why two-step dynamic panel data estimator is better then one-step? Can't quiet understand it... For example, from <code>xtabond2</code> manual in STATA:</p> <p>"two-step estimator is asymptotically efficient and robust to whatever patterns of heteroskedasticity and cross-co...
g27077
[ 0.0989350900053978, -0.03192663565278053, 0.035275060683488846, 0.053322065621614456, 0.028549127280712128, -0.01039805356413126, 0.06716896593570709, -0.001676719170063734, -0.03858930617570877, -0.01621793583035469, 0.006091182120144367, 0.0067113968543708324, 0.010772776789963245, 0.016...
<p>I have a set of sequential data around of around 12k points. Each is a 1 or -1. They are split something like 53%/47%. I want to test the hypothesis that this sequence comes from a random walk with a constant parameter. What sort of statistical test should I use?</p> <p>(I'd also be grateful for any book recommenda...
g27078
[ 0.03442329540848732, 0.004651217255741358, -0.01093501690775156, -0.027718128636479378, -0.029023565351963043, -0.03483784198760986, 0.0408070869743824, 0.021695541217923164, -0.0024529411457479, 0.006997932214289904, 0.009870427660644054, 0.016017617657780647, -0.011900534853339195, -0.02...
<p>I am trying to replicate a table and in one of the notes it's written that <strong>'standard errors are adjusted to account for the within-analyst correlation of the observations'</strong> I am running my regressions in Matlab and obtaining normal SEs. I have been searching how to adpat my SEs to this specific situa...
g17429
[ 0.02422921359539032, -0.05871099233627319, -0.011151568964123726, -0.03170818090438843, -0.004989417269825935, 0.004339058417826891, 0.029359931126236916, 0.07699361443519592, -0.017424872145056725, -0.011983120813965797, 0.015011535957455635, 0.020888064056634903, 0.0477091446518898, 0.02...
<p>This is an R question. I have $n$ observations of the variable $y$, with each observation, $i$, weighted by $w(i)$. Each $w(i)$ weight falls between zero and 1, with the sum of the weights, $m&lt;n$. I am testing whether the weighted mean of $y$ equals zero, with $std(mean)$ denoting the weighted sample standard d...
g67510
[ 0.03371099382638931, -0.021011382341384888, -0.015583474189043045, -0.01488801371306181, 0.01746974140405655, -0.0038780677132308483, 0.017746608704328537, 0.018696939572691917, -0.06393656134605408, -0.017872417345643044, 0.009990338236093521, 0.0022151905577629805, -0.005450592841953039, ...
<p>I major in science, and my knowledge of statistics is rather superficial.</p> <h2>Problem</h2> <p>I had to find a data set and analyze it to the best of my ability as an assignement for my statistics course. This is no longer an assignment, I just need help in interpreting why I did my analysis badly and what I sh...
g67511
[ -0.0052836863324046135, -0.029706289991736412, -0.004083810839802027, -0.031309567391872406, 0.020344097167253494, -0.016886919736862183, 0.04697844758629799, 0.04656678065657616, -0.05812340974807739, -0.03591802343726158, -0.012238251976668835, 0.027811765670776367, -0.010407702066004276, ...
<p>Here is the actual question- There are 1000 employees in a firm, and the firm has four departments namely D1, D2, D3 and D4 with 100, 200, 300, 400 employees respectively. Now, each employee is explained about what constitutes an injury(for this experiment). Then, each employee is asked whether they were injured in ...
g26094
[ 0.0006873010424897075, -0.041192155331373215, 0.00478593772277236, -0.03666050732135773, 0.04996470361948013, -0.03915399685502052, 0.0832766741514206, -0.012184054590761662, -0.03416551277041435, -0.006591744255274534, -0.027536947280168533, 0.05138729140162468, 0.011348307132720947, -0.0...
<p>I have a reasonable understanding of the technique to detect similar documents consisting in first computing their minhash signatures (from their shingles, or n-grams), and then use an LSH-based algorithm to cluster them efficiently (i.e. avoid the quadratic complexity which would entail a naive pairwise exhaustive ...
g67512
[ 0.016508376225829124, -0.009218734689056873, 0.007755864877253771, -0.06619568169116974, -0.04101162776350975, -0.02834431827068329, 0.0009887649212032557, 0.032526180148124695, -0.03236197680234909, -0.006256080232560635, -0.029976580291986465, -0.023485613986849785, 0.0816083624958992, -...
<p>In the Classical Regression Model i.e. $\big(E(y|x)=\alpha +\beta x$ and $Var(y|x)=\sigma^2\big)$ with only two coefficients for intercept $\alpha$ and slope $\beta$ of a dummy variable $x$, we can interpret $\alpha$ as the the mean of values for which $x=0$ and $\beta$ as the difference of the means of the data whe...
g67513
[ -0.0498829111456871, -0.03131535276770592, -0.041681919246912, -0.014617002569139004, 0.06835927814245224, -0.019528018310666084, 0.08304890990257263, 0.011747453361749649, -0.05504629760980606, -0.036242175847291946, -0.07184545695781708, 0.0844351276755333, 0.007836101576685905, 0.013461...
<p>Given $K$ triplets $t_k:=(a_k^{(1)},a_k^{(2)},a_k^{(3)}) \in \mathbb{R}^3, k=1,...,K$ and the triplet to test against them $t=(a^{(1)},a^{(2)},a^{(3)}) \in \mathbb{R}^3$.</p> <p>How can one test whether $t$ differs significantly from the $K$ other triplets, in the sense that $t$ has "little probability to occur in...
g67514
[ 0.009444640949368477, 0.0004907746915705502, -0.009282134473323822, -0.02048228308558464, -0.003989869263023138, 0.0076462519355118275, 0.00977527629584074, 0.021839424967765808, -0.018625374883413315, 0.012464562430977821, -0.001752033131197095, 0.010633588768541813, 0.042184051126241684, ...
<p>The question is simple. My residuals after performing a linear regression are non-normal. I am not sure whether or not one of my variables is significant. I know that I cannot use p-values. Can you suggest a non-gaussian methodology for dealing with this problem? Thanks in advance.</p> <p>Update:</p> <p>The re...
g27082
[ 0.01145139243453741, -0.06052783504128456, 0.0014719916507601738, -0.04756637662649155, -0.06572199612855911, 0.02882395125925541, -0.012332719750702381, 0.019362451508641243, -0.019412532448768616, 0.03204479441046715, 0.004770368803292513, 0.04278960078954697, -0.036859333515167236, -0.0...
<p>I'm working on a time series containing hourly data for 8 days. Using the R <code>forecast</code> package, I'm trying to predict future data with <code>stl</code>. If I use only 7 days data, things work fine, but when I add the last day, the predicted values drop strongly. My questions:</p> <ol> <li><p>Visually the...
g804
[ 0.013737943023443222, -0.01518152840435505, 0.01177432481199503, -0.08964824676513672, -0.012467160820960999, -0.03455869480967522, -0.0035472242161631584, -0.047049831598997116, -0.04834616184234619, -0.029048804193735123, 0.029527250677347183, 0.02827281504869461, 0.06651481986045837, 0....
<p>I have large data set of $\approx 10^6$ points where each point contains the information of a</p> <pre><code>(year, count) </code></pre> <p>of a particular event. There are many counts for a each year. Looking at the histograms of counts for a given year, I've conjectured that they follow a Poisson distribution. B...
g27083
[ -0.0030852584168314934, 0.029881808906793594, -0.027599219232797623, -0.05331013351678848, -0.03748562932014465, -0.03932807594537735, -0.0051194061525166035, 0.03331512212753296, -0.0627131536602974, 0.0035256887786090374, -0.02095077559351921, 0.024002837017178535, 0.0010267632314935327, ...
<p>I am running a multi-variate Cox regression and Stata provides the standard errors for each hazard ratio. How are theses to be interpreted? I know that I want my coefficients to be large compared to my SEs, but I don't know if the same rule applies to ratios.</p>
g67515
[ -0.00695726228877902, -0.049840644001960754, -0.0020223730243742466, -0.007728136610239744, 0.03427956998348236, -0.03971083089709282, 0.01352403499186039, 0.03411569073796272, 0.004257822874933481, -0.011951611377298832, -0.021300943568348885, -0.0038154544308781624, 0.08988011628389359, ...
<h3>Introduction</h3> <p>I have a 300,000-row cancer dataset with around 60 variables (cancer stage, year of diagnosis, radiation therapy, histology, etc.) with a time variable ("number of months survived") and an event (alive or dead). The last two variables have complete values in the individual records.</p> <h3>Su...
g67516
[ -0.0016705809393897653, -0.04869089275598526, 0.0047530969604849815, -0.04495210573077202, 0.02128302864730358, -0.026492152363061905, 0.011874583549797535, 0.011362140066921711, -0.051396068185567856, -0.014123777858912945, 0.00522567518055439, 0.02198139764368534, 0.048060160130262375, 0...
<p>There are several functions in R to calculate the power of a test, for example, the pwr-functions of the <code>pwr</code> package. </p> <p>My question is how we get this function for ANOVA (<code>pwr.anova.test</code>)?</p> <p>I know that \begin{align} 1-\beta &amp;= P(H1|H1) \\ &amp;= P(F&gt;F_{1-\alpha...
g67517
[ -0.048176877200603485, -0.027586184442043304, -0.03280877321958542, 0.005150939337909222, 0.02961944043636322, -0.010974776931107044, 0.05050111934542656, 0.016869589686393738, -0.06687909364700317, 0.026789287105202675, -0.03511509299278259, 0.05974539741873741, -0.0010742676677182317, 0....
<p>The wonderful libsvm package provides a python interface and a file "easy.py" that automatically searches for learning parameters (cost &amp; gamma) that maximize the accuracy of the classifier. Within a given candidate set of learning parameters, accuracy is operationalized by cross-validation, but I feel like this...
g101
[ -0.0250124242156744, -0.00402231328189373, 0.03083949349820614, -0.000776624889113009, 0.033572643995285034, 0.03485850989818573, -0.012556420639157295, 0.023268267512321472, -0.05953572317957878, 0.009179918095469475, 0.019549217075109482, -0.014806360006332397, 0.04303065687417984, 0.055...
<p>I have carried out a stepwise logistic regression in JMP. Then (using the proper button in the program window), I have chosen to build a nominal logistic regression model using (only) the variables identified by the stepwise procedure. Anyhow, comparing the summary tables of the stepwise regression and the nominal o...
g67518
[ 0.0068719275295734406, -0.024944379925727844, -0.008994514122605324, -0.037280868738889694, -0.016088470816612244, -0.012992599979043007, 0.009381196461617947, 0.011800573207437992, -0.07013969123363495, -0.027150128036737442, -0.02162059023976326, 0.05546396225690842, 0.02365840971469879, ...
<p>Okay, so I think I have a decent enough sample, taking into account the 20:1 rule of thumb: a fairly large sample (N=374) for a total of 7 candidate predictor variables. </p> <p>My problem is the following: whatever set of predictor variables I use, the classifications never get better than a specificity of 100% an...
g49437
[ -0.045027103275060654, -0.02683839201927185, 0.006431500893086195, -0.06734175235033035, 0.005396461114287376, -0.038191840052604675, 0.019195612519979477, 0.07247160375118256, 0.02047864720225334, 0.015131160616874695, 0.03490626811981201, 0.014194025658071041, 0.019381200894713402, 0.017...
<p>I'm searching for some good reading material on <a href="http://en.wikipedia.org/wiki/Multifractal" rel="nofollow">multifractal analysis</a>. Preferably something accessible that doesn't put the stress too much on mathematical proofs but rather on applications. As long as it gives a good review of the status of the ...
g27088
[ 0.040108535438776016, 0.04596570506691933, 0.022785864770412445, -0.003960445988923311, -0.054024092853069305, -0.08611410856246948, 0.0005632420070469379, -0.0067963991314172745, 0.019709469750523567, -0.0015640794299542904, -0.013963456265628338, -0.03528806194663048, 0.09280892461538315, ...
<p>I have been running 3-level multilevel models with <a href="http://www.ssicentral.com/hlm/" rel="nofollow">HLM</a>, and my main interest is in some cross-level interaction effects that I am finding. My concern is that the effect sizes of these interactions appear to be small – I am wondering whether they are really ...
g47724
[ 0.02101077325642109, 0.05494458228349686, 0.0021136526484042406, 0.015049961395561695, 0.016247885301709175, -0.013974340632557869, 0.039112966507673264, -0.002742043463513255, -0.035464830696582794, 0.015104513615369797, 0.006385136395692825, -0.04809979721903801, -0.002707901643589139, 0...
<p>Can anybody please explain that in simple words: how can we correctly use probabilities given by some classifiers along with the predicted class values?</p> <p>Let us consider some implementation of a Naive Bayes classifier that works with Gaussian priors. As an output, for each test instance we have a true class l...
g38743
[ -0.015463103540241718, -0.05533885210752487, 0.02820735238492489, -0.0069585866294801235, 0.011088871397078037, 0.038599107414484024, 0.04165823757648468, 0.029571708291769028, -0.026116253808140755, -0.041469596326351166, 0.007422891911119223, 0.005287698470056057, 0.0839734673500061, 0.0...
<p>I recently learned how to use winbugs. I know nothing about coding and programming. My model is not included in the set of distributions that are already available in winbugs. </p> <p>This is a trivariate poisson model with covariance structure: <img src="http://i.stack.imgur.com/6LbEA.png" alt="http://i.stack.imgu...
g27090
[ -0.020942246541380882, -0.028780868276953697, -0.007087003439664841, -0.11506426334381104, 0.01629035733640194, -0.00812979694455862, -0.008382830768823624, 0.036849912256002426, -0.036004889756441116, -0.041175372898578644, -0.088555708527565, -0.01901770383119583, 0.02748439833521843, 0....
<p>I want to compare the means between groups <code>1</code> vs. <code>2</code> and also <code>2</code> vs. <code>3</code>. All three groups are nonnormal, as the Shapiro-Wilk test resulted in p values of 0.03, 0.04 and &lt;0.0001 respectively. <em>n</em> is 10, 13 and 38 respectively, and the Levene test for equal var...
g35726
[ 0.0069762831553816795, -0.022054223343729973, 0.0031571618746966124, -0.02337575890123844, 0.025937654078006744, -0.005995927378535271, 0.024908622726798058, -0.028986509889364243, -0.03529208153486252, -0.013436876237392426, 0.013660186901688576, 0.022073078900575638, -0.026041977107524872,...
<p>I've implemented a neural network for prediction, and for the input data, I've used the following formula to normalize data: </p> <pre><code>Data_normalized_i= [Data_i - Min_data]/[Max_Data- Min_data] </code></pre> <p>I've some questions:</p> <ol> <li>How do I interpret the output of my network according to my in...
g27092
[ 0.02211449109017849, -0.030636131763458252, 0.0001625293807592243, -0.03381538391113281, -0.003025924786925316, -0.03956940397620201, 0.007909675128757954, 0.051826708018779755, -0.045932870358228683, -0.03900226205587387, -0.03432680666446686, 0.024480806663632393, 0.03962474316358566, -0...
<p>Some friends and I (statistics grad students) would like to work through a good regression book. We're looking for </p> <ul> <li>single and multiple linear regression</li> <li>logistic regression</li> <li>model selection</li> <li>diagnostics</li> <li>splines</li> <li>penalized methods</li> <li>classifiers, trees</l...
g27095
[ 0.04813484847545624, -0.008658255450427532, -0.0065060812048614025, -0.022946448996663094, 0.007989682257175446, -0.0416538380086422, -0.022236455231904984, 0.03318742290139198, -0.009326104074716568, 0.025845032185316086, 0.038586847484111786, 0.015829334035515785, 0.08869479596614838, -0...
<p>I'm trying to analyze the results of a survey question. The question is multiple choice (but each respondent can only select one answer) and I want to calculate 95% confidence intervals for their responses.</p> <pre><code>A 122 B 55 C 16 D 14 E 13 ---------- Total 220 </code></pre> <...
g38854
[ -0.030078236013650894, 0.004578613210469484, 0.010291934944689274, 0.01978285424411297, 0.014627073891460896, -0.024690119549632072, 0.026570850983262062, 0.021515170112252235, -0.04740762710571289, -0.023625392466783524, -0.002881490858271718, -0.017901010811328888, 0.06040290370583534, -...
<p>I have recently begún to learn about model based recursive partitioning by playing around with MOB in the party package. I came across this mobForest package but am a little baffled towards what it is actually doing. </p> <p>A MOB model (if I can call it that) is of the form</p> <p>Y ~ X1,...,Xk | Z1,...,Zl using ...
g67519
[ -0.011696689762175083, -0.06688249111175537, 0.008966123685240746, 0.007609234657138586, 0.07242310792207718, -0.07977309077978134, -0.021555138751864433, 0.0563003309071064, -0.034639932215213776, 0.0024672220461070538, -0.0030009273905307055, -0.04015268385410309, 0.05179717391729355, 0....
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stats.stackexchange.com/questions/26454/proof-that-if-higher-moment-exists-then-lower-moment-also-exists">Proof that if higher moment exists then lower moment also exists</a> </p> </blockquote> <p>For a random variable $X$, lets say I know...
g49775
[ 0.025249002501368523, -0.003734999569132924, -0.002700335346162319, -0.03822938725352287, 0.08595924079418182, -0.030835378915071487, -0.0456724688410759, 0.007271090988069773, -0.03765663877129555, 0.026767252013087273, -0.0886814147233963, 0.018194235861301422, -0.045662228018045425, 0.0...
<p>I am trying to discern the best way to calculate a correlation and perform a one-way ANOVA on data I am taking from a PostgreSQL database.</p> <ul> <li>What tools should I use? </li> <li>Can I do this using the SQL language itself? </li> <li>Is there an easy way to export the data?</li> </ul>
g67520
[ 0.029271971434354782, 0.0075295716524124146, 0.00258791446685791, -0.05329516530036926, -0.028054600581526756, -0.030180586501955986, 0.002079094760119915, 0.020111320540308952, -0.03148144856095314, -0.04222486913204193, 0.01614478789269924, 0.009640824049711227, 0.036914583295583725, 0.0...
<p>let v to be forecasted value for periods 1 through T and $v_{t}$ be its forecasted value at time $t$. We express $v_{t}$ as the sum of two terms, its mean at time $t$, and its deviation from the mean at time $t$, $\epsilon_{t}$. In other words, $$ v_{t}= \overline{v_{t}} + \epsilon_{t} $$ The $\overline{v_{t}}$ a...
g67521
[ -0.022011565044522285, -0.06183145195245743, -0.041328925639390945, 0.0016971463337540627, 0.01792970858514309, 0.01976572535932064, 0.024986639618873596, -0.02907908521592617, -0.07097695022821426, 0.006800942122936249, 0.002578947227448225, 0.026474840939044952, 0.04206722974777222, 0.01...
<p>I am using R to replicate a study and obtain mostly the same results the author reported. At one point, however, I calculate marginal effects that seem to be unrealistically small. I would greatly appreciate if you could have a look at my reasoning and the code below and see if I am mistaken at one point or another....
g47741
[ -0.01841602474451065, -0.004060731269419193, 0.0000420533397118561, -0.055845752358436584, 0.0026458406355232, -0.01572790928184986, 0.06242283806204796, -0.022927207872271538, -0.0782860666513443, 0.006598498672246933, 0.022372374311089516, 0.02536953054368496, -0.025523139163851738, 0.03...
<p>I have a multinomial logistic regression model. One of the output categories is not observed in the data set that I'm using. </p> <h3>Example:</h3> <ul> <li>4 different diagnoses (response variable) in the population, but in the sample, Type 3 never occurred</li> <li>5 hormone level measurements (predictors) </li...
g67522
[ 0.022305451333522797, 0.02194509655237198, 0.004452034365385771, -0.0390617661178112, 0.01756110228598118, -0.040614914149045944, -0.014985562302172184, -0.01827525906264782, -0.06664932519197464, -0.010710205882787704, -0.02239398844540119, 0.009558367542922497, 0.0806172713637352, 0.0014...
<p>On the Internet there is an example of k-s test being applied relative to distribution of number of bird varieties over different five hour periods. The observed distribution was:</p> <pre><code>a=c(0,1,1,9,4) </code></pre> <p>The expected distribution (if there is no difference between the five hours) could be:</...
g47742
[ 0.02544075809419155, -0.0213327556848526, -0.020318975672125816, -0.008300114423036575, -0.01330142468214035, 0.01955399289727211, 0.04257921501994133, 0.018732132390141487, -0.039929311722517014, 0.023189285770058632, -0.03383885696530342, 0.012131798081099987, 0.046582650393247604, 0.039...
<p>I'm reading through someone else's code for plotting the results of a psychology experiment, and (according to the code comments) they calculate the accuracy error of their behavioral paradigm as follows:</p> <p>$\textit{accuracy error} = \sqrt{\frac{(\textit{accuracy}) (1-\textit{accuracy})}{\textit{total trials}}...
g67523
[ 0.0322970412671566, -0.08292827755212784, -0.012258858419954777, -0.026983322575688362, 0.04314589500427246, 0.007163624279201031, 0.04365330934524536, -0.001644686097279191, -0.03818241506814957, -0.010577394627034664, 0.010991476476192474, 0.016736997291445732, 0.049908749759197235, -0.0...
<p>I want to estimate parameters of Dirichlet mixture models using Gibbs sampling and I have some questions about that:</p> <ol> <li><p>Is a mixture of Dirichlet distributions equivalent to a Dirichlet process? What is their main differences if is not?</p></li> <li><p>Also, if I want to estimate a single Dirichlet dis...
g67524
[ 0.0005688220262527466, -0.02065541036427021, 0.01883588172495365, -0.07014844566583633, -0.033309921622276306, -0.005161646753549576, -0.058509983122348785, 0.00045945763122290373, 0.0009994497522711754, 0.003205968765541911, -0.008226169273257256, -0.00891638919711113, 0.05184082314372063, ...
<p>I would like to check different gradient algorithms. For example:</p> <pre><code> fr &lt;- function(x) { ## Rosenbrock Banana function x1 &lt;- x[1] x2 &lt;- x[2] print(c(x1,x2)) 100 * (x2 - x1 * x1)^2 + (1 - x1)^2 } optim(c(-1.2,1),fr,method="BFGS") </code></pre> <p>print...
g67525
[ 0.006505878642201424, -0.011100385338068008, -0.008556345477700233, -0.016176143661141396, 0.05612386390566826, -0.033288050442934036, 0.04086413234472275, -0.03428170830011368, -0.1052810326218605, -0.029318174347281456, -0.04573531448841095, 0.07500986009836197, 0.03000052645802498, 0.04...
<p>Inter-market analysis is a method of modeling market behavior by means of finding relationships between different markets. Often times, a correlation is computed between two markets, say S&amp;P 500 and 30-Year US treasuries. These computations are more often than not based on price data, which is obvious to everyon...
g67526
[ 0.045364633202552795, 0.003771900897845626, 0.021840708330273628, 0.004119087941944599, -0.028942378237843513, -0.0010767244966700673, 0.088068887591362, -0.009068948216736317, -0.01915949210524559, 0.011445000767707825, 0.04525598883628845, 0.004160070791840553, -0.028365179896354675, -0....
<p>I am starting to use R's <a href="http://cran.r-project.org/web/packages/dynlm/index.html" rel="nofollow">dynlm</a> package. Currently I am just looking at the fit and eyeball which choice of lags might be the best. Is there a standard way or a strategy to determine the best k parameters for <code>L()</code>. What I...
g67527
[ 0.03700783848762512, -0.01063314825296402, -0.03095402754843235, -0.0068847667425870895, 0.031921397894620895, -0.06455282121896744, 0.0027389535680413246, 0.012193026021122932, -0.05303550884127617, -0.010095812380313873, 0.0449368879199028, -0.017709597945213318, 0.04817230999469757, 0.0...
<p>In the following example</p> <pre><code>&gt; m = matrix(c(3, 6, 5, 6), nrow=2) &gt; m [,1] [,2] [1,] 3 5 [2,] 6 6 &gt; (OR = (3/6)/(5/6)) #1 [1] 0.6 &gt; fisher.test(m) #2 Fisher's Exact Test for Count Data data: m p-value = 0.6699 alternative hypothesis: true odds ratio is not eq...
g67528
[ 0.009253316558897495, -0.04271601513028145, -0.002304038032889366, 0.000832791964057833, 0.008951687254011631, -0.014725418761372566, 0.035059671849012375, 0.015118416398763657, -0.035762954503297806, -0.02709525264799595, -0.013521699234843254, 0.014969001524150372, 0.01697728782892227, 0...
<p>Let $Y_n$ be the nth order statistic of a random sample of size n from a distribution with pdf $f(x|\theta) = 1/\theta$, $0&lt;x&lt;\theta$, zero elsewhere. Take the loss function to be $L[\theta, \delta(y)] = [\theta - \delta(y_n)]^2$. Let $\theta$ be an observed value of the random variable $\Theta$, which ahs the...
g27105
[ -0.01378915086388588, -0.07549487054347992, -0.005181296728551388, -0.024083713069558144, 0.024360552430152893, -0.039904557168483734, 0.03852519765496254, 0.006611495278775692, -0.07122285664081573, -0.042157139629125595, -0.011571859940886497, 0.02909405715763569, 0.026609180495142937, 0...
<p>Pretty basic question:</p> <p>What does a normal distribution of residuals from a linear regression mean? In terms of, how does this reflect on my original data from the regression?</p> <p>I'm totally stumped, thanks guys</p>
g67529
[ 0.04332386329770088, -0.05895230919122696, -0.010265790857374668, -0.005031317938119173, -0.0581602118909359, 0.06014108657836914, 0.011680739000439644, 0.0770873948931694, -0.030975637957453728, -0.07357201725244522, -0.046148814260959625, 0.03479829803109169, 0.004254687577486038, -0.059...
<p>How can I add new variable into data frame which will be percentile rank of one of the variables? I can do this in Excel easily, but I really want to do that in R.</p> <p>Thanks</p>
g47755
[ 0.0462774783372879, -0.03125140070915222, -0.00005701079135178588, -0.03672186657786369, 0.02838289923965931, -0.0225607231259346, -0.03201543167233467, -0.001437346450984478, -0.039038434624671936, -0.04265007749199867, 0.031295452266931534, 0.01794726960361004, -0.022923285141587257, -0....
<p>Imagine I have a set of data from an experiment:<br> Observed Measurement 1: 5<br> Observed Measurement 2: 6<br> Observed Measurement 3: 7<br> Observed Measurement 4: 8<br> Observed Measurement 5: 9 </p> <p>I have a target mean of 6--I need to choose a set of weights that map the observational data to the target m...
g67530
[ -0.010560653172433376, -0.00551470136269927, -0.012082391418516636, -0.0568133108317852, 0.007772037759423256, -0.02562115713953972, 0.023394810035824776, 0.0009938506409525871, -0.06694325059652328, -0.08046261221170425, -0.008340633474290371, 0.013811133801937103, 0.05823041498661041, -0...
<p>Assuming we have a sample (some observables) from a population of unknown distribution, can I assume that the right way to estimate the sample size (for estimating means, medians, etc.) is using the formula:</p> <p>$$n = 4s^2 / d^2$$</p> <p>where $s$ is the sample standard deviation, $d$ is the margin of error (p...
g67531
[ -0.01178425271064043, 0.016209131106734276, 0.008734059520065784, -0.004047582391649485, -0.036145806312561035, -0.007267488166689873, -0.02002881094813347, 0.0126378508284688, -0.027125326916575432, -0.017211105674505234, 0.03964298591017723, 0.014595424756407738, 0.05213725566864014, -0....
<p>Which variety of Linux is best suited to work with R, SAS, SQL, Matlab? Is it Scientific Linux?</p>
g40448
[ 0.06304647773504257, 0.022814014926552773, 0.018283262848854065, 0.025622544810175896, -0.009334035217761993, -0.032523900270462036, -0.06224723160266876, -0.03672055900096893, -0.04032069444656372, -0.050505202263593674, 0.06447308510541916, 0.062412843108177185, 0.03495471552014351, -0.0...
<p>I am a newbie here. well I am trying to find a method or a formula to forecast meals per day, which have ̀5 meals to upload on flights, sales, wastage and passengers are what I have to consider, the old template is not completed yet , and its not so good to forecast, and I can't think of other formulas or methods to...
g67532
[ 0.004242736846208572, 0.021514713764190674, 0.02058393321931362, 0.0014858547365292907, -0.0901724249124527, -0.027830548584461212, 0.022580593824386597, -0.02641306258738041, -0.059946686029434204, -0.026940636336803436, 0.004986852407455444, -0.004216515459120274, 0.05597655475139618, 0....
<p>I have read the wonderful thread entitled <a href="http://stats.stackexchange.com/questions/138/resources-for-learning-r">Resources for learning R</a>. The question asks for resources to learn R "on the cheap". </p> <p>I have a similar question: What is the best and quickest way to learn R, regardless of cost? I am...
g67533
[ 0.07217495143413544, 0.006021471694111824, 0.000058271947636967525, -0.0067636542953550816, -0.04089423269033432, -0.03036629781126976, 0.018674269318580627, 0.012389777228236198, -0.0059209903702139854, -0.03876578062772751, 0.06378865987062454, -0.006248746532946825, 0.04477749764919281, ...
<p>I'm trying to fit a causal model. Participants in a task are trained on the model then asked for their belief in all the joints over the variables (e.g., what are the chances of observing an item with <code>cause_1</code> and <code>effect</code> present and <code>cause_2</code> absent?)</p> <p>I want to infer peopl...
g67534
[ 0.0014711266849189997, -0.04562932625412941, -0.004701352212578058, -0.05433090031147003, 0.017634963616728783, -0.02302306890487671, 0.06151605769991875, 0.05933064967393875, -0.04576168954372406, -0.02934415265917778, 0.05258036032319069, -0.03334139287471771, 0.03011913225054741, 0.0048...
<p>I just want to preface this with the fact it is not a home work question. I am also not a stats person so I am not sure even how to start with calculating this, what it is called or where to look. When I google I get not much that looks like it helps.</p> <p>So my problem, assume you have a 30 team league. Any g...
g67535
[ 0.037662357091903687, -0.003716185921803117, -0.004490922205150127, -0.028134215623140335, -0.012316679581999779, -0.02413342148065567, 0.005567410960793495, 0.03891562670469284, -0.005270217079669237, -0.0024414940271526575, -0.011646469123661518, 0.03794669732451439, 0.05341697484254837, ...
<p>Suppose there is a sample of varying size $n\in \mathbb N$, each sample point taking values in $\mathbb R$, and a statistic $T$. If I am correct, a statistic can accept arbitrary sample size. What are some standard ways to represent/write the statistic $T$ with varying sample size $n$? For example,</p> <ol> <li>We...
g46922
[ -0.014744055457413197, -0.006623067893087864, -0.009413955733180046, -0.04078955575823784, 0.005274821072816849, -0.049607351422309875, -0.06732554733753204, -0.02964332513511181, -0.04748555272817612, 0.00418953038752079, 0.015031611546874046, 0.0012234790483489633, 0.05993602052330971, 0...
<p>I’ve simulated some data consisting of one response variable (‘y’) and two collinear predictor variables (‘Amount’ and ‘MPS’), where collinearity arises from one of two causes: (1) Amount causes MPS, or (2) Amount and MPS are jointly affected by an unmeasured variable. </p> <p>What I'm trying to do is figure out wh...
g37562
[ 0.008572476916015148, -0.025369737297296524, 0.005034604575484991, -0.03875976800918579, 0.033533744513988495, -0.019685009494423866, 0.01463914755731821, 0.01514447946101427, -0.030273016542196274, -0.01958172209560871, -0.008539930917322636, 0.014304866082966328, -0.000757209025323391, 0...
<p>I want the basic steps to analyze a communication system using Discrete Time Markov Chain? Can you help me with a book name that concern with this issue?</p>
g67536
[ -0.007024792954325676, 0.019227536395192146, 0.014833912253379822, -0.010692732408642769, -0.030437834560871124, -0.03933953866362572, -0.018858982250094414, 0.007964295335114002, -0.008345423266291618, 0.0054008993320167065, -0.021794307976961136, 0.018198207020759583, 0.022500718012452126,...
<p>Following the answer and comments on <a href="http://stackoverflow.com/q/21538519/2829605">Python Statsmodels Testing Coefficients from Robust Linear Model based on M-Estimators</a>:</p> <p>I'm wondering how the sandwich form of an m estimator's covariance matrix would be calculated. The RLM regression will devalu...
g67537
[ -0.00015887452173046768, -0.06363758444786072, 0.01729072816669941, 0.01848389208316803, 0.019974132999777794, 0.0017771022394299507, 0.01964443176984787, 0.03553510457277298, -0.04079878330230713, -0.023336326703429222, -0.041684094816446304, 0.013932171277701855, 0.011613992974162102, 0....
<p>If we have absolutely no knowledge about the base rates (maybe except for the number of possible outcomes), what is the most accurate probability distribution to assume, is it uniform? </p> <p>Here is a practical example. I don't know whether the Universe is real or I am just living in a simulation. In either case,...
g67538
[ 0.021143320947885513, 0.039354074746370316, 0.016024116426706314, -0.01661364734172821, 0.037941157817840576, 0.021559791639447212, -0.0055776601657271385, 0.015046760439872742, 0.02797655202448368, -0.039867497980594635, 0.041189923882484436, -0.04962391406297684, 0.0374164953827858, 0.01...
<p>I am a PhD student, and I am trying to construct a data set to use for proof of concept for my research. However, I am not sure how to construct the model to simulate the data in R. I want to construct data that mimics software usage logs. In other words, each record would represent a user running an application ...
g67539
[ 0.015393460169434547, -0.013446623459458351, -0.009930497035384178, -0.07016681879758835, -0.04422170668840408, -0.04847916215658188, 0.04585469886660576, -0.007939898408949375, -0.010873924940824509, -0.023473406210541725, 0.00904909148812294, -0.013038251549005508, 0.04974217712879181, 0...
<p>Does there exist a conjugate prior for the <a href="http://en.wikipedia.org/wiki/Laplace_distribution">Laplace distribution</a>? If not, is there a known closed form expression that approximates the posterior for the parameters of the Laplace distribution?</p> <p>I've googled around quite a lot with no success so m...
g67540
[ 0.05248658359050751, -0.03824656829237938, -0.00500009348616004, -0.11281103640794754, -0.04445414990186691, 0.02141640894114971, -0.004447835963219404, -0.0018616144079715014, -0.032580114901065826, -0.04801231622695923, 0.003153145080432296, 0.02058868296444416, 0.02294274792075157, 0.02...
<p>What are the stationarity requirements of using regression with ARIMA errors (dynamic regression) for inference?</p> <p>Specifically, I have a non-stationary continuous outcome variable $y$, a non-stationary continuous predictor variable $x_a$ and a dummy variable treatment series $x_b$. I would like to know if the...
g67541
[ 0.05295729637145996, -0.10071389377117157, 0.007490314077585936, 0.0077861398458480835, 0.01223582960665226, -0.01362212747335434, 0.04710584506392479, -0.0016807757783681154, -0.026008062064647675, 0.03578685596585274, 0.03775462508201599, 0.02741633541882038, 0.011556422337889671, -0.000...
<p>Each week, John drives to his mother's house. The amount of time required for the trip varies and is normally distributed. On about 16% of trips, it takes him more than 54 minutes to reach his mother's house. On about 2.5% of trips, it takes him less than 33 minutes to reach his mother's house. Which is closest to t...
g49776
[ -0.03382803499698639, 0.05243498086929321, -0.019107691943645477, 0.021498551592230797, -0.04237648472189903, -0.019561678171157837, 0.013827769085764885, 0.006767134182155132, 0.0019889550749212503, 0.018314072862267494, -0.029553767293691635, -0.038446858525276184, 0.04337913915514946, -...
<p>I have a table of employees' information and each employee has the following attributes. I wanted to do an analysis to find out what similarities they share among themselves and possibly cut them into 3 or 4 groups. I started with cluster analysis using <code>fit = kmeans(mydata,5)</code> and <code>fit = dist(mydata...
g67542
[ 0.0018429880728945136, -0.0331256166100502, 0.0065508512780070305, -0.06917814910411835, 0.02978847362101078, -0.005540183279663324, 0.04141081124544144, -0.0430389866232872, -0.06395259499549866, -0.013722446747124195, 0.010830830782651901, 0.05030529946088791, 0.07203838229179382, 0.0444...
<p>I develop open-source statistical software (<a href="http://openmx.psyc.virginia.edu/" rel="nofollow">http://openmx.psyc.virginia.edu/</a>), but matrix calculus is not my strong point. I need the 1st and 2nd derivatives of the log multivariate normal density. I was happy to find the 1st derivatives here on CrossVali...
g67543
[ 0.07388538122177124, -0.009180231019854546, -0.004113120958209038, -0.001981256762519479, -0.016345124691724777, -0.03105851821601391, 0.03725408390164375, -0.05968138203024864, -0.034806329756975174, 0.006804235745221376, -0.021588938310742378, 0.013751344755291939, 0.027682894840836525, ...
<p>I am a bit confused when it comes to 68-95-99.7 rule of confidence interval of normal distribution. Normally I could see confidence interval of 95% for a sample statistic (s) with margin of error lets say e. So the confidence interval is s +- e. So 95% means that if we do the sampling 100 times and calculate the sa...
g27120
[ 0.04174577072262764, 0.0372757762670517, -0.019279830157756805, 0.024446556344628334, -0.028415251523256302, 0.03711194172501564, -0.00781038124114275, 0.035718295723199844, -0.02713482826948166, -0.03827177733182907, 0.024806855246424675, 0.016196144744753838, 0.04836083948612213, -0.0605...
<p><strong>Edit</strong> I've rephrased this question severely.</p> <p>Suppose I have a fitness center, and instead of a monthly fee, the people are paying for courses they are taking. I've got the monthly total revenue of all participants who started in January, for seven months (up to July). I've also collected the ...
g67544
[ 0.0005564428283832967, -0.022246364504098892, -0.007704935967922211, -0.007094227708876133, -0.024832960218191147, 0.0018962614703923464, 0.06422621011734009, -0.005301942583173513, 0.0019407764775678515, -0.029780957847833633, 0.03347949683666229, 0.046392664313316345, 0.08292189985513687, ...
<p>I am using the limma package in R to do some analysis on a count data matrix. I use the voom function and that normally creates a plot with the mean variance trend line in it. Now I created also a mean variance trend plot, but it doesn't look normal.</p> <p>Has anyone seen something like this before?</p> <p><img s...
g67545
[ 0.036508217453956604, -0.011653645895421505, 0.005600286647677422, -0.04932583123445511, 0.019897371530532837, -0.022007595747709274, 0.030644845217466354, 0.00003436303813941777, -0.042340125888586044, -0.03894629329442978, 0.03027254343032837, 0.06519981473684311, 0.003774994984269142, -...
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stats.stackexchange.com/questions/7200/evaluate-definite-interval-of-normal-distribution">Evaluate definite interval of normal distribution</a> </p> </blockquote> <p>Title was changed and question edited bellow.</p> <p>How is possible tha...
g49777
[ 0.011399793438613415, -0.01240426953881979, -0.013782265596091747, -0.02618389017879963, -0.02853458561003208, 0.04648805037140846, 0.012294805608689785, 0.032418008893728256, -0.05899291858077049, -0.041882190853357315, -0.01202207338064909, 0.04452968388795853, 0.061936166137456894, -0.0...
<p>The regular way to compute the F-value for a Chow forecast test is: $$F=\frac{(e_R'e_R-e_1'e_1)/g}{e_1'e_1/(n-k)}$$</p> <p>My professor said something today about that a Chow forecast test using $R^2$ would be wrong, because the number of observations in the restricted model that gives $e_R$ is different from that ...
g67546
[ -0.016222568228840828, 0.012915502302348614, 0.008081666193902493, 0.010746239684522152, 0.009636534377932549, -0.042917411774396896, 0.06732093542814255, 0.0016099062049761415, -0.05285574495792389, -0.08080075681209564, 0.0244928989559412, 0.03384098410606384, 0.03356018289923668, 0.0620...
<p>Sorry, this is probably very basic...</p> <p>I have data on expenditure over 3 years. This expenditure is made up of 2 products L and H. L has been increasing and H has been decreasing, so overall L+H is about the same. Can I measure whether there has been a statistically significant decrease in H between the 3 tim...
g67547
[ -0.006072009447962046, 0.012279089540243149, -0.012389830313622952, -0.002851234981790185, -0.016044892370700836, -0.049928177148103714, 0.03634463623166084, 0.03152928128838539, -0.04404599219560623, 0.03946220874786377, -0.0212983638048172, 0.02084135264158249, -0.008072322234511375, 0.0...
<p>I'm currently trying to do a forecast of GDP , although I'm new to the econometric field , with SAS and the Partial Least Square method.</p> <p>My question is the following:</p> <p>Does anyone have any articles that will give me a better understanding of what is needed in term of data preparation , the coding and ...
g67548
[ 0.04813750088214874, -0.023273639380931854, 0.008494442328810692, -0.06336040049791336, 0.004006218630820513, -0.026779014617204666, -0.020076656714081764, -0.003053027903661132, 0.0007734937826171517, -0.06254996359348297, -0.01164388656616211, -0.017002949491143227, 0.06919419765472412, ...
<p>I have fit a few mixed effects models (particularly longitudinal models) using <code>lme4</code> in <code>R</code> but would like to really master the models and the code that goes with them.</p> <p>However, before diving in with both feet (and buying some books) I want to be sure that I am learning the right libra...
g27128
[ 0.03763652965426445, -0.045184601098299026, -0.005104347597807646, -0.05669700726866722, -0.029971014708280563, -0.000609824201092124, 0.007978737354278564, -0.030049754306674004, -0.022060422226786613, -0.022828416898846626, 0.04104624316096306, -0.03534013032913208, 0.014988455921411514, ...
<p>I understand that in One-Way ANOVA two alternative F-Ratios have been derived to be robust when homogeneity of variance has been violated. Tomarkin and Serlin (1986) review amongst other techniques the Brown-Forsythe and Welch F-Ratios and conclude that both control the type I error rate well.</p> <p>So far I have ...
g67549
[ 0.005756518337875605, -0.026359502226114273, -0.0010625030845403671, 0.03107217326760292, 0.014492788352072239, -0.05795719474554062, -0.002830198034644127, -0.005386125762015581, 0.0295422300696373, -0.019404498860239983, 0.04066935554146767, -0.00542409485206008, 0.0187387615442276, 0.05...
<p>I am modeling a random variable ($Y$) which is the sum of some ~15-40k independent Bernoulli random variables ($X_i$), each with a different success probability ($p_i$). Formally, $Y=\sum X_i$ where $\Pr(X_i=1)=p_i$ and $\Pr(X_i=0)=1-p_i$.</p> <p>I am interested in quickly answering queries such as $\Pr(Y&lt;=k)$ (...
g49838
[ -0.0012071233941242099, 0.01431251224130392, -0.02555185928940773, -0.030190356075763702, -0.026591036468744278, -0.015352372080087662, 0.013624857179820538, -0.03599401190876961, 0.019159289076924324, 0.0323043130338192, -0.02788250707089901, 0.058127112686634064, 0.015059670433402061, 0....
<p>In Excel or Google Docs you can readily construct a Cumulative Distribution Function for the Normal distribution using the NORMDIST function (X, Mean, Standard Deviation). I am trying to do the same for a Lognormal distribution using the LOGNORMALDIST function that has the same parameters (X, Mean, Standard Deviati...
g67550
[ 0.019687697291374207, -0.017954722046852112, 0.013777690008282661, -0.016939489170908928, -0.0485176220536232, 0.03529740497469902, -0.011974271386861801, -0.0047560036182403564, -0.02828124724328518, -0.052865590900182724, -0.020481467247009277, 0.018457336351275444, 0.05099721997976303, ...
<p>Introductory, advanced, and even obscure, please.</p> <p>Mostly to test myself. I like to make sure I know what the heck I'm talking about :)</p> <p>Thanks</p>
g67551
[ -0.00308599672280252, -0.02552361972630024, -0.014016714878380299, -0.011627201922237873, -0.015342513099312782, -0.007192399352788925, -0.00014130529598332942, -0.03778902813792229, 0.03358089178800583, -0.036530379205942154, 0.018004417419433594, 0.03511655330657959, 0.049028269946575165, ...
<p>I am trying to predict the outcome of a random variable x, which is a real-valued number. In some cases I can observe another variable y1, which should approximate x. I model y1 as a Gaussian distribution with mean of 0 and an empirically estimated standard deviation, and use the probability density function of that...
g67552
[ -0.026381615549325943, -0.044165026396512985, 0.010942348279058933, -0.004383411258459091, -0.028049234300851822, -0.0008699669851921499, -0.058568816632032394, 0.015508189797401428, 0.0035408767871558666, -0.05245977267622948, 0.01963219791650772, -0.03361022472381592, 0.0672144964337349, ...
<p>I'm working on the forecasting of life expectancy actually. I have written code following the usual procedure. The results are not trustworthy because the life expectancy should have a positive slope (logically) but in my case it comes flat for the 50 years ahead. The ARIMA(1,1,2) is the best model with the lowest...
g67553
[ 0.0007691339123994112, -0.06786952912807465, 0.005470563191920519, -0.061802398413419724, 0.02309381775557995, -0.016173558309674263, 0.07002945989370346, -0.010802905075252056, -0.0771159678697586, 0.0034599981736391783, 0.04279528558254242, 0.03283190727233887, 0.08549320697784424, -0.02...
<p>I am comparing two distributions with KL divergence which returns me a non-standardized number that, according to what I read about this measure, is the amount of information that is required to transform one hypothesis into the other. I have two questions:</p> <p>a) Is there a way to quantify a KL divergence so th...
g67554
[ 0.02608775720000267, -0.012186910957098007, -0.03222016617655754, -0.06554016470909119, 0.03078020177781582, -0.03904319927096367, -0.015357202850282192, 0.035004593431949615, -0.04950420930981636, -0.04404057562351227, -0.034513358026742935, -0.028431572020053864, 0.06145148724317551, 0.0...
<p>I need an help because I don´t know if the command for the ANOVA analysis I am performing in R is correct. Indeed using the function aov I get the following error: <code>In aov (......) Error() model is singular</code></p> <p>The structure of my table is the following: subject, stimulus, condition, sex, response</...
g67555
[ -0.038343872874975204, -0.06466943025588989, 0.005939214490354061, -0.07856354117393494, 0.0034403703175485134, 0.03907041251659393, 0.07973796874284744, -0.012447825632989407, -0.03736265003681183, 0.02243823930621147, -0.04225057363510132, 0.045723479241132736, 0.023524032905697823, 0.03...
<p>I'm doing a Blinder-decomposition (females as reference group). Is it normal that a variable has an explained or unexplained contribution above 100%?</p> <p>I know my calculation is correct. However, the unexplained age is 1.099 (log value); while the overall difference is 0.10. So unexplained age has an unexplaine...
g67556
[ 0.02704937756061554, 0.02228492498397827, -0.010626501403748989, -0.052206117659807205, 0.017982516437768936, 0.0000895865960046649, 0.044944826513528824, 0.045897915959358215, -0.012536479160189629, 0.0065052141435444355, -0.034357327967882156, 0.001996920444071293, 0.030630871653556824, ...
<p>This is perhaps basic but I couldn't find a suitable reference. </p> <p>I have a regression model with a rather complicated link function. So $\vec{x}$ is a vector of continuous predictors, and $z$ is a binary variable such that according to the model: $Pr(z=1) = f(\vec{x})$ for some (known) function $f$. </p> ...
g47815
[ 0.039632122963666916, -0.013595601543784142, -0.009983332827687263, -0.028669115155935287, -0.005988525692373514, -0.03581281378865242, 0.046219948679208755, 0.053431447595357895, -0.023153793066740036, -0.03543216735124588, 0.024799877777695656, 0.01897318661212921, 0.007407822646200657, ...
<p>The "Linear Ballistic Accumulator" model (LBA) is a rather successful model for human behaviour in speeded simple decision tasks. <a href="http://www.ncbi.nlm.nih.gov/pubmed/19897817">Donkin et al</a> (2009, <a href="http://mypage.iu.edu/~cdonkin/pubs/brm09b.pdf">PDF</a>) provide code that permits estimating the par...
g67557
[ -0.018297430127859116, -0.050250377506017685, -0.011201344430446625, -0.03736288100481033, 0.025321023538708687, -0.011727411299943924, 0.0071822600439190865, 0.011311697773635387, -0.030032971873879433, 0.02643301710486412, -0.016387498006224632, 0.04236886277794838, 0.05389238893985748, ...
<p>I stumbled on this while doing MLR, and was curious as to why this happens. The adjusted R-squared is (if I understand correctly) supposed to be a way of comparing the predictive quality of models with different numbers of explanatory variables. In the second model, I've added a statistically insignificant variable ...
g67558
[ -0.008241340517997742, -0.04392147809267044, -0.008658500388264656, 0.014379994943737984, 0.012057126499712467, 0.01324311550706625, 0.04536600410938263, 0.03302576392889023, -0.07127923518419266, -0.0062612490728497505, -0.01813153550028801, 0.03706776350736618, 0.05735257640480995, 0.049...
<p>Give a short example to show that items in a strong association rule may actually be negatively correlated?</p> <p>Thanks in advance! </p>
g67559
[ 0.04646926745772362, 0.03552689775824547, 0.00783755537122488, -0.01068888884037733, 0.004485758021473885, 0.01821955293416977, -0.008899455890059471, 0.025188719853758812, 0.013027738779783249, -0.009439727291464806, -0.010150565765798092, 0.019638821482658386, 0.020219432190060616, 0.041...
<p><img src="http://i.stack.imgur.com/PFhg8.jpg" alt="enter image description here"></p> <p>I am having trouble understanding the output here. In the green table, it seems like SAS is saying "Gender F" and "Gender M" are not significant. However, in the blue table, seems like it's saying that it would make a different...
g20607
[ 0.00624473812058568, 0.013026708737015724, 0.026831811293959618, -0.04702811688184738, 0.0023789340630173683, 0.0323735773563385, -0.016019022092223167, -0.04108778387308121, -0.0770067498087883, -0.04894160106778145, 0.0207834430038929, 0.0030607827939093113, 0.07394924014806747, 0.018303...
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stats.stackexchange.com/questions/15427/kruskal-wallis-or-fligner-test-to-check-homogeneity-of-variances">Kruskal-Wallis or Fligner test to check homogeneity of variances?</a> </p> </blockquote> <p>Is there a test to check if the residuls ...
g49778
[ 0.009183892980217934, -0.05805683508515358, 0.005469393916428089, -0.029461845755577087, 0.03701554611325264, 0.004540740977972746, -0.022228877991437912, -0.016175398603081703, -0.019575800746679306, -0.0643850713968277, -0.0012984786881133914, 0.03880714252591133, -0.0224266666918993, 0....
<p>I just came by <a href="http://www.investuotojas.eu/?p=464" rel="nofollow">a post talking about</a> networks for displaying correlations: <img src="http://i.stack.imgur.com/BhyaZ.png" alt="enter image description here"></p> <p>Is this a known method? Can someone shed some insights into it? (I'm wondering about how...
g67560
[ 0.024112921208143234, 0.03293235972523689, -0.010272732935845852, -0.052293214946985245, 0.036474525928497314, -0.0535653717815876, 0.05325012654066086, -0.02891838736832142, -0.027090732008218765, -0.0713157057762146, 0.036343611776828766, -0.01876511238515377, 0.09060345590114594, 0.0113...
<p>Specifically, I'm looking for references (papers, books) which will rigorously show and explain the curse of dimensionality. This question arose after I began reading this <a href="http://www3.stat.sinica.edu.tw/statistica/J16N2/editorial3.pdf">white paper</a> by Lafferty and Wasserman. In the third paragraph they m...
g67561
[ 0.08960507065057755, 0.06910411268472672, -0.005310330539941788, -0.012745204381644726, -0.03521818667650223, 0.015646131709218025, 0.040529292076826096, -0.03510823845863342, -0.05669064074754715, -0.009609375149011612, 0.014942482113838196, 0.017932379618287086, 0.08524161577224731, 0.01...
<p>I'm looking for bounds on the variance of the maximum of a set of random variables. In other words, I'm looking for closed-form formulas for $B$, such that $$ \mbox{Var}(\max_i X_i) \leq B \enspace, $$ where $X = \{ X_1, \ldots, X_M \}$ is a fixed set of $M$ random variables with finite means $\mu_1, \ldots, \mu_M$ ...
g299
[ -0.03457051143050194, 0.0020015437621623278, -0.0000857063932926394, -0.04333989694714546, -0.023621343076229095, -0.025248410180211067, -0.0356992669403553, -0.07018222659826279, -0.00793716311454773, -0.048519451171159744, -0.03305332362651825, 0.05173211172223091, -0.02802702784538269, ...