question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>If I observe the following:</p> <p>$X \sim N(\mu_x,\sigma^2_x)$</p> <p>$Y|X=x \sim N(x,\sigma^2_y)$</p> <p>My objective is to calculate the marginal distribution of $Y$.</p> <p>(Since the variance term does not address some form of correlation $\rho$, the dependence between both random variables clearly needs to...
g25876
[ 0.014929811470210552, -0.0038691945374011993, -0.007005252409726381, -0.02901758998632431, -0.0016034336294978857, -0.011761127039790154, 0.012367221526801586, -0.009581641294062138, -0.014391869306564331, -0.019669707864522934, 0.008388414978981018, 0.06825773417949677, -0.03138070926070213...
<p>Is there a way to calculate an estimate of $\kappa$ from data for the von Mises distribution?</p> <p>It seems very easy to do in R, <a href="http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=CircStats:A1inv" rel="nofollow">http://rgm2.lab.nig.ac.jp/RGM2/func.php?rd_id=CircStats:A1inv</a>, but python doesn't have an A1i...
g17983
[ 0.026403585448861122, -0.055282317101955414, 0.000358050805516541, -0.0766064003109932, -0.014021179638803005, -0.06523194909095764, 0.0003147393581457436, 0.04089046269655228, -0.04446297138929367, 0.009428047575056553, -0.04319356381893158, 0.005587931722402573, 0.019389808177947998, 0.0...
<p>I'm interested in a changepoint detection problem of the following scenario:</p> <p>Consider two Poisson processes for which we have the event times. I'm interested in detecting a change in the <em>relative</em> intensities of the processes, normalizing out fluctuations in the combined/joint intensity.</p> <p>Fur...
g66724
[ 0.052233923226594925, -0.01870320737361908, -0.004720098804682493, 0.004062666557729244, -0.010201281867921352, -0.08429581671953201, 0.043845854699611664, 0.012531538493931293, 0.009007384069263935, 0.03813733905553818, 0.005570231005549431, 0.05062831938266754, 0.04105185717344284, -0.02...
<p>I've implemented baseline predictors model. It trains on data: "<code>user_number item_number rating_ui</code>" And then I need to predict raiting for "<code>user_number item_number</code>". I use following formulas for biases:</p> <pre><code>b_ui = average_rating + b_i + b_u; b_i = (sum_(by all items)(rating_ui-a...
g775
[ -0.02378508262336254, 0.010904106311500072, -0.003894788445904851, -0.014471449889242649, -0.0020565357990562916, -0.014442686922848225, 0.025108294561505318, 0.05238199234008789, -0.08811263740062714, -0.020678410306572914, -0.030621478334069252, 0.06413020938634872, 0.047213051468133926, ...
<p>I'm looking at using a VARMA model to both determine the driver so value in some advertising campaigns and also to forecast future activity. I'm looking at the paper by <a href="http://www.sciencedirect.com/science/article/pii/S0148296397001859" rel="nofollow">Takada and Bass</a> as a reference point and I'm looking...
g66725
[ 0.0010868380777537823, 0.021720372140407562, 0.009466108866035938, -0.0267447829246521, -0.003217099467292428, -0.046516645699739456, 0.027932409197092056, 0.03398020192980766, -0.012444225139915943, 0.04434109479188919, 0.0331469401717186, -0.008409314788877964, 0.07235819101333618, 0.019...
<p>After multiply imputing data, it is natural to estimate regression models on the data. When multiple predictors are available, sometimes stepwise regression is used for model building (forward inclusion or backward elimination of covariates). My question is how to use a similar procedure on multiply imputed data set...
g66726
[ 0.022159071639180183, -0.012567673809826374, 0.012075567618012428, -0.06537896394729614, -0.02190740779042244, -0.025948956608772278, 0.03733133152127266, 0.06456804275512695, -0.06304732710123062, -0.0033015382941812277, -0.04108332842588425, 0.03590692952275276, 0.03659454360604286, 0.06...
<p>Survival data with censoring were generated by monte carlo method in R. Patients survival data was assumed to follow a weibull distribution. Parameters were extracted by fitting a parametric model to the simulated survival data with survreg. However, I got warning message: In survreg.fit(X, Y, weights, offset, init ...
g25880
[ -0.0012622025096789002, -0.015270202420651913, -0.003483786014840007, -0.04159022122621536, -0.040871694684028625, 0.03387927636504173, 0.00662124203518033, -0.034243207424879074, -0.03707275167107582, 0.027695706114172935, -0.025677334517240524, -0.010653162375092506, 0.05053755268454552, ...
<p>I have some time-series data that displays a count value for every day:</p> <p><img src="http://i.stack.imgur.com/zXl9P.png" alt="enter image description here"></p> <p>These count values begin at 1 or -1 and will continue to count up (or down) if conditions in the time series are met. If the conditions are not me...
g25881
[ -0.011148798279464245, 0.040084898471832275, -0.024517983198165894, -0.03469361737370491, -0.07406578958034515, 0.011524931527674198, 0.041819978505373, -0.007012791000306606, -0.044793128967285156, -0.02708739973604679, -0.0004967855056747794, 0.05006027594208717, 0.04006750509142876, -0....
<p>Suppose $y$ is a binary outcome variable and $x$ is a categorical predictor variable that takes three levels (1,2,3). In this case, you would create two dummy variables $x_2, x_3$. So $x_2=1$ if $x=2$ or $x_2=0$ if $x \neq 2$. Likewise $x_3=1$ if $x=3$ or $x_3=0$ if $x \neq 3$</p> <p>A logistic regression model wou...
g66727
[ -0.04099583998322487, 0.0467538982629776, 0.012711598537862301, 0.014004490338265896, 0.03721669316291809, -0.017971789464354515, -0.04536828771233559, 0.002582930028438568, -0.048223827034235, -0.019483545795083046, -0.04113119840621948, 0.04837813600897789, 0.03262771666049957, -0.009701...
<p>I'm using R to do some time series estimation. I'm trying to rebuild the fitted values from an Arima model by hand to use in an Excel spreadsheet using the estimated coefficients and the input data. I can use the fitted command, but I'm trying to understand more how it works. Ex: </p> <pre><code>library(MASS) lib...
g25882
[ 0.036972761154174805, -0.0678449347615242, -0.00039858449599705637, -0.0386371836066246, 0.012989605776965618, -0.008785847574472427, 0.044418253004550934, 0.010689820162951946, -0.05654100328683853, -0.003000723198056221, -0.032070569694042206, 0.044525396078825, 0.06322777271270752, -0.0...
<p>I am currently working on a project the includes fitting. For the fitting I would like to try uniform random starting parameters. The possible fit parameters can lie in quite a large range, for example 10^-15 to 10^15 while others can lie in the range of -1 to 1. So quite diverse.</p> <p>When I try to create random...
g66728
[ -0.025147024542093277, -0.011685727164149284, -0.027334915474057198, -0.06207577511668205, -0.0522216372191906, 0.03610673546791077, 0.06784708797931671, 0.05183054506778717, -0.01885172538459301, -0.0489896796643734, -0.022901318967342377, 0.007627247832715511, 0.06635001301765442, 0.0194...
<p>I'm wondering what's the usual way for detecting "three-parts" association between variables. I'm not even sure about the name, so I apologize for any misunderstandings beforehand. Here is what I want. I suspect that buried behind some noise is a relation of this kind:</p> <p>$$s=\begin{cases} g(b) &amp; \textrm{...
g25886
[ 0.07138704508543015, -0.04917842894792557, -0.005863822065293789, -0.08778126537799835, 0.02031007781624794, -0.055162519216537476, -0.005376527085900307, -0.010831926017999649, -0.008929656818509102, -0.00017217615095432848, 0.005406375043094158, 0.020844750106334686, -0.010579416528344154,...
<p>We draw $n$ values, each equiprobably among $m$ distinct values. What are the odds $p(n,m,k)$ that at least one of the values is drawn at least $k$ times? e.g. for $n=3000$, $m=300$, $k=20$.</p> <p>Note: I was passed a variant of this by a friend asking for "a statistical package usable for similar problems".</p> ...
g66729
[ -0.00973899569362402, 0.005064940080046654, -0.014495800249278545, 0.009283645078539848, -0.00666884146630764, -0.002770904451608658, -0.032769687473773956, -0.01634782925248146, -0.04575701802968979, -0.013031069189310074, -0.0219378974288702, -0.01574762910604477, 0.015681086108088493, -...
<p>What fields of science (social or physical) use modelling for time-series analysis? In particular, time-series that cannot be replicated? Two examples that I can think of are climate modelling, and econometrics. Are there any others?</p> <p>I am asking because I am doing research on model independence in climate sc...
g66730
[ 0.015629015862941742, 0.015653744339942932, 0.027503889054059982, 0.015506820753216743, 0.022750603035092354, 0.030722839757800102, -0.02185537852346897, -0.0076736523769795895, 0.014440164901316166, 0.00846617016941309, -0.021107373759150505, -0.025624776259064674, 0.04526742175221443, 0....
<p>I have been wondering, why are LASSO and LARS model selection methods so popular even though they are basically just variations of step-wise forward selection (and thus suffer from path dependency)? </p> <p>Similarly, why are General to Specific (GETS) methods for model selection mostly ignored, even though they do...
g25887
[ 0.012179323472082615, -0.012866249307990074, 0.018636606633663177, 0.0027510409709066153, -0.003522298764437437, -0.03601899743080139, 0.033933091908693314, 0.04221311956644058, -0.0016176097560673952, -0.00003061286770389415, 0.04979918897151947, -0.003092637052759528, 0.14153461158275604, ...
<p>I am looking at the relationship betwwen two interval level variables, being income and subjective well-being and I want to test the overall correlation as well as the correlation in three professional groups, namely doctors, high school teachers, and shop assistants.</p> <p>If I use bivariate correlation, I will ...
g25893
[ 0.006636025849729776, -0.012790339067578316, -0.017429649829864502, -0.01552542857825756, -0.012086422182619572, 0.005008430685847998, -0.00826414953917265, -0.005496415309607983, 0.007213159464299679, -0.03788819536566734, 0.03598896414041519, 0.020048800855875015, -0.011578388512134552, ...
<p>Suppose that we have $X_1,...,X_n$ ~ i.i.d $N(\mu,\sigma^2)$, where $\mu$ is unknown and $\sigma^2 = 1. $ Is the following estimator:</p> <p>$\hat{\mu} = \frac{1}{n-1}\sum{x_i}$ consistent but not asymptotically efficient?</p> <p>There are different definitions of what it means to be asymptotically efficient and h...
g19937
[ -0.030506761744618416, 0.022200243547558784, -0.01639384776353836, -0.018957938998937607, 0.006526111625134945, -0.08061028271913528, 0.0490959994494915, -0.03460757061839104, -0.05502580478787422, 0.06290922313928604, -0.022996796295046806, 0.052301764488220215, 0.011691016145050526, 0.04...
<p>I'm currently working on a project involving GLMs (and eventually GAMs) of some count data over time. Normally I'd do this in SAS, but I'm trying to move to R, and having...issues.</p> <p>When I fit a GLM to count data using the following:</p> <p><code>cdi_model &lt;- glm(counts ~ exposure + covariate + month, dat...
g66731
[ 0.01256880909204483, -0.06844649463891983, -0.015372877940535545, -0.008985981345176697, 0.00623070215806365, -0.0024565025232732296, 0.04463263601064682, -0.0005704651703126729, -0.049923598766326904, -0.02003273367881775, 0.0042091854847967625, 0.03291644528508186, 0.017309140413999557, ...
<p>I am dealing with a data set containing roughly $n=4000$ <strong>binary</strong> observations $Y_1, \ldots, Y_n$ with $p=1000$ <strong>binary</strong> explanatory variables. I suspect that a lot of these explanatory variables are not relevant to the prediction of the observations. Moreover, it is clear that there ar...
g46287
[ 0.02357550896704197, 0.008329913951456547, 0.02501104027032852, -0.008010633289813995, 0.01666116528213024, -0.0433199517428875, -0.023110471665859222, 0.006781166885048151, 0.02013540267944336, 0.00468659121543169, -0.00489439582452178, 0.011606256477534771, 0.058599527925252914, 0.061910...
<p>Hi Fellow Statisticians,</p> <p>I have a source generating hashes (e.g. computing a string with a timestamp and other information and hashing with md5) and I want to project it into a fixed number of buckets (say 100).</p> <p>sample hash: 0fb916f0b174c66fd35ef078d861a367</p> <p>What I thought at first was to ...
g46288
[ -0.035139210522174835, 0.04303499311208725, 0.023388970643281937, -0.09452279657125473, -0.021921874955296516, -0.049294792115688324, -0.01902819611132145, 0.04258206486701965, -0.03678080067038536, 0.016854336485266685, -0.04172142595052719, -0.0007592607871629298, 0.06745244562625885, -0...
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stats.stackexchange.com/questions/26060/derive-househould-weights-from-a-uniformly-distributed-person-sample">Derive househould weights from a uniformly distributed person sample</a> </p> </blockquote> <p><strong>EDIT</strong>: Essentially...
g49758
[ 0.022618915885686874, -0.05171547830104828, -0.01892637275159359, -0.01029074564576149, 0.011427255347371101, -0.031529929488897324, -0.025371603667736053, 0.03674890473484993, 0.006237891502678394, 0.024432754144072533, -0.03695802018046379, -0.011828850023448467, -0.046671606600284576, 0...
<p>I have a file containing questionnaire data (categorical data, 4 possible values). I have imported this to R to get the corresponding data frame. Now I've done some messy things with the table function to obtain a new data frame which contains instead of the whole data listing only the frequency counts in right orde...
g43254
[ 0.031676098704338074, 0.04678649827837944, -0.0040982444770634174, -0.10768791288137436, -0.0009312832844443619, -0.08488351851701736, 0.009483429603278637, 0.015168261714279652, -0.046192947775125504, -0.027128957211971283, 0.044758137315511703, -0.0026278323493897915, 0.05955757573246956, ...
<p>Here is a sequence of sample data where user is using some functionality:</p> <ul> <li>user_1 -> func_1</li> <li>user_2 -> func_2</li> <li>user_3 -> func_3</li> <li>user_1 -> func_1</li> <li>user_1 -> func_1</li> <li>user_1 -> func_1</li> </ul> <p>Problem: How to calculate distribution of most popular functionalit...
g66732
[ -0.020379789173603058, 0.04013574868440628, -0.023213505744934082, -0.012459947727620602, 0.014510741457343102, -0.04274391382932663, 0.0477483905851841, -0.012309066951274872, -0.011523790657520294, -0.006320555228739977, -0.05270049348473549, 0.026526497676968575, 0.048038676381111145, 0...
<p>Let's say I have random variable $\mu \sim N(\mu ; 0, \xi^2)$. Is there anything useful known about the distribution of random variable $d = N(x ; \mu, \sigma^2)$, that is, the distribution of density at a fixed point $x$ given that the mean is a normally distributed random variable?</p>
g66733
[ -0.004620636813342571, -0.0005123297451063991, -0.014671039767563343, -0.02970755286514759, -0.04602609574794769, -0.003326881444081664, -0.029178710654377937, -0.05781520903110504, -0.03358294442296028, 0.004040112718939781, -0.004658083897083998, 0.008123655803501606, -0.001376880216412246...
<p>I have a four variable $(x_1, x_2, v_1, v_2)$ state space for a system of ODEs. I would like to build a random sample of the initial conditions for these ODEs --- in other words, I wish to build a sample of vectors $\{(x_1, x_2, v_1, v_2),... \}$ from some PDF. However, I require that these vectors satisfy a const...
g66734
[ -0.0060894605703651905, -0.018337469547986984, -0.014600859954953194, -0.09030847251415253, -0.09980263561010361, 0.02772964909672737, 0.031520161777734756, 0.011759375222027302, -0.052134186029434204, 0.011170703917741776, 0.036145441234111786, 0.010469498112797737, 0.030877171084284782, ...
<p>I want to use AIC to compare three candidate models (labeled by m), each having K_m parameters. However, I have M datasets over which I can make the comparison. My ultimate goal is to report the "relative goodness" of each of the three models for a single fit. How to I make use of the multiple datasets?</p> <p>O...
g25900
[ -0.004763471428304911, -0.017677275463938713, -0.018285604193806648, -0.056495409458875656, 0.0027308636344969273, -0.002688802545890212, 0.02397308498620987, 0.025249406695365906, -0.09519042819738388, 0.04726351797580719, 0.0248512364923954, -0.006812757346779108, 0.10217711329460144, 0....
<p>So I've been working on the same question in my homework for days. I've done it over and over and I know I'm doing something wrong. I can't get a straight answer from anybody about it. I just want to understand.</p> <p>Right now, I'm pretty sure I've calculated my common standard deviation of the 5 varieties incorr...
g66735
[ 0.06548689305782318, -0.006871696561574936, -0.015388418920338154, 0.03283966705203056, -0.025190206244587898, 0.021393127739429474, 0.06266197562217712, 0.023725274950265884, -0.022745423018932343, -0.032060179859399796, 0.0036072798538953066, 0.006571309641003609, 0.021839000284671783, 0...
<p><a href="http://stackoverflow.com/questions/7618052/whats-the-difference-between-a-uniformed-and-non-uniformed-histogram">This question</a> describes the basic difference between a uniform and a nonuniform histogram. And <a href="http://stats.stackexchange.com/questions/798/calculating-optimal-number-of-bins-in-a-hi...
g66736
[ -0.012685902416706085, 0.054269615560770035, -0.007613391615450382, -0.08298338204622269, 0.010211688466370106, -0.04687664657831192, 0.017459912225604057, 0.010603546164929867, -0.05132361873984337, -0.04924872890114784, 0.0011640987358987331, -0.007284093648195267, -0.0011568835470825434, ...
<p>In my experiment I measure accuracy (0-1) in two groups, on two different types of stimuli. I use the generalized linear mixed model because I think this is the only model that can deal with binary DVs and with nested data (trials within the same participant).</p> <p>SPSS syntax:</p> <pre><code>GENLINMIXED /DATA...
g46302
[ -0.04716275632381439, -0.024012215435504913, -0.015815116465091705, 0.0009515649871900678, 0.053360261023044586, 0.0133217703551054, 0.017937086522579193, 0.016022322699427605, -0.00022637519577983767, -0.0682561993598938, -0.007795928046107292, 0.011193724349141121, -0.006191103719174862, ...
<p>I have some data resulting from a simulation that consists of several groups, each containing a single real datapoint and a variable number of matched controls. I take the rank of each real value within its distribution of controls, and normalize the ranks to between 0 and 1.</p> <p>Now I would like to test whether...
g38050
[ 0.007659843657165766, -0.017926273867487907, -0.027861133217811584, -0.03710075095295906, 0.009381760843098164, -0.031107382848858833, -0.013216666877269745, -0.009496631100773811, -0.013368752785027027, -0.02357351966202259, 0.04001931846141815, 0.03826422989368439, 0.022600065916776657, ...
<p>I'm analyzing the results of some simulation work using a Cox proportional hazard model, and I have what I perceive are a great many ties in the data, representing when a particular individual in the simulation was infected. For example, one of the (many) runs of this model:</p> <pre><code>Time, Freq 1, 8 2, 9 3, 5...
g66737
[ 0.010804304853081703, 0.0009886894840747118, -0.012193064205348492, -0.0899539515376091, 0.028148602694272995, -0.03802838176488876, 0.002656554104760289, -0.0022781267762184143, -0.0727265477180481, -0.02257874235510826, 0.013238509185612202, -0.008051829412579536, 0.043391767889261246, -...
<p><strong>Question</strong></p> <p>Consider the following process: $$2y_t-3y_{t-1}+y_{t-2}=\epsilon_t-\theta\epsilon_{t-1}$$ What is the model for the process $w_t=\Delta y_t = y_t-y_{t-1}$?</p> <p><strong>Attempt</strong></p> <p>I have solved the question in two ways, which seem to be giving conflicting answers.</...
g66738
[ -0.003955618478357792, -0.04012109711766243, -0.003031400265172124, 0.00039033518987707794, 0.06443610787391663, -0.005724006798118353, 0.042837612330913544, -0.009782775305211544, -0.01653335615992546, 0.07866901904344559, 0.019999979063868523, 0.05257010832428932, 0.0555439218878746, 0.0...
<p>I have derived this likelihood function \begin{equation} \begin{split} &amp;-\frac{1}{N}\log L(\eta,\beta,\mathit{\Omega})\\ &amp;=\frac{1}{2}\log (\sigma^2_{\varepsilon}+T\sigma^2_{c})+\frac{T-1}{2}\log\sigma^2_{\varepsilon}+\frac{1}{2}\frac{1}{\sigma^2_{\varepsilon}+T\sigma^2_{c}}\frac{T}{N}\sum_{i=1}^{N}\left(\ba...
g25906
[ -0.03349251300096512, -0.05278727039694786, -0.03341761231422424, -0.028085505589842796, 0.05323376879096031, -0.0477987565100193, 0.10891436785459518, 0.01787552423775196, -0.05653411149978638, 0.040394894778728485, -0.02634444646537304, 0.046895742416381836, -0.006651516072452068, 0.0421...
<p>I have multivariate time series data of the EURUSD financial vehicle. In this data each variable represents a different metric. There are ~200,000 rows and ~20 variables. There are no NULL values for any variable at any row. All data is numerical.</p> <p>Alongside this data, at each time point I have the univariate...
g66739
[ 0.05090930685400963, -0.017328200861811638, -0.00362447090446949, -0.04509659856557846, 0.006351451855152845, -0.04332634061574936, -0.0031004203483462334, -0.03333663195371628, -0.0757383182644844, -0.036070141941308975, 0.048840977251529694, 0.0019002691842615604, 0.057034607976675034, -...
<p>This is going to be a long question : </p> <p>I have written a code in MATLAB for updating the weights of MLP with one hidden layer . Here is the code :</p> <p>weights_1 : weight matrix for input to hidden layer weights_2 : weight matrix for hidden to output layer </p> <pre><code>function [ weights_1,weights_2 ] ...
g66740
[ 0.0001768184156389907, 0.026255639269948006, 0.0048104627057909966, -0.014169147238135338, 0.03701431304216385, -0.03304433822631836, 0.05330941081047058, 0.0033006619196385145, -0.08822809159755707, -0.007651422172784805, -0.03975836932659149, 0.0878095030784607, 0.03585756942629814, 0.02...
<p>I am looking for a kernel as low pass filter that satisfy as:I must find a kernel that statisfies as follows: <img src="http://i.stack.imgur.com/gVBYW.png" alt="enter image description here"> </p> <p>In the my reference paper, the author suggest gaussian kernel that is <img src="http://i.stack.imgur.com/uWltv.png" ...
g66741
[ 0.030851637944579124, -0.0010680122068151832, -0.0033066519536077976, -0.0441015250980854, 0.01749674789607525, -0.027149200439453125, -0.01590900495648384, -0.00839819572865963, -0.003491240320727229, -0.004328819923102856, 0.0013902956852689385, 0.014996449463069439, 0.027104364708065987, ...
<p>I heard a story recently in which someone said if they wanted to kill somebody (and get away with it) they would do it with their car. They cited various statistics about the number of auto-related deaths (including car-on-pedestrians) coupled with additional stats about the number of drivers actually sentenced to ...
g25914
[ 0.029434502124786377, -0.02683100290596485, 0.013158386573195457, 0.035204317420721054, 0.04844164103269577, -0.03705029562115669, 0.043696433305740356, 0.02721584029495716, -0.03008396364748478, -0.00942971184849739, 0.017545044422149658, -0.014822196215391159, 0.06372609734535217, -0.020...
<p>I have been doing some reading about <a href="http://en.wikipedia.org/wiki/ANOVA_gauge_R%26R" rel="nofollow">gage R&amp;R</a> and I have a simple application for it. I will be using ANOVA for performing my gage R&amp;R. From my standpoint, most people seem to be using gage R&amp;R to determine the relative contribut...
g25916
[ 0.022226916626095772, -0.0858694463968277, -0.011592738330364227, 0.0015723671531304717, -0.03278812766075134, 0.02973875030875206, 0.1040353775024414, 0.0653967335820198, 0.019509220495820045, -0.017467591911554337, 0.007981096394360065, 0.0033074519596993923, 0.03726010024547577, 0.06056...
<p>The data I'm looking at is concerned with percentages of people who would recommend a hospital.</p> <pre><code>E.g. NOT PROBABLY DEFINITELY FREQ hospital_1 10.0 80.0 10.0 100 hospital_2 20.0 50.0 30.0 200 </code></...
g25917
[ 0.003632052568718791, -0.03218553587794304, 0.009730297140777111, -0.04040239378809929, -0.019551608711481094, -0.021165858954191208, -0.018244929611682892, 0.05197702720761299, -0.042803794145584106, -0.021824000403285027, 0.059890586882829666, -0.015397345647215843, -0.0014035541098564863,...
<p>Regression models (at least up to GLMs) do not traditionally require stationarity (although the requirement for the residuals is even stronger than stationarity).</p> <p>ARMA-style time series models seem to always require stationarity. <strong>What other models always require stationarity?</strong></p> <p>Vague ...
g720
[ -0.005354774184525013, -0.013059471733868122, 0.018197152763605118, 0.03474828228354454, 0.0024917563423514366, -0.013501252979040146, 0.010040733963251114, -0.0004953871830366552, -0.032026391476392746, 0.0010005842195823789, 0.04717603698372841, -0.006285787560045719, 0.025883719325065613,...
<p>My Dissertation analysis method involves a Multivariate multiple moderated regression. Where I have 4 Dependent Variables (DVs) and 4 Independent Variables (IVs). My model 1 is testing main effects and model 2 is testing interaction effects. Here is what my code looked like:</p> <pre><code>mod1&lt;-lm(cbind(Perceiv...
g25918
[ 0.0016368180513381958, -0.061803437769412994, -0.007645545527338982, -0.05494851619005203, -0.007737363688647747, 0.0022558430209755898, 0.01809755712747574, 0.013920465484261513, -0.029753971844911575, -0.01661648601293564, -0.028317583724856377, 0.01458647008985281, 0.028377922251820564, ...
<p>I have been using the <a href="https://engineering.purdue.edu/~bouman/software/cluster/" rel="nofollow">GMM cluster package</a> by Bouman, for which I did not find any adaptation module online. Before I start off reading up on the GMM adaptation theory and implementing it, I did like to know if there are any other o...
g25920
[ -0.02771124616265297, -0.013966650702059269, 0.026650188490748405, -0.022867565974593163, -0.031114939600229263, -0.01508235465735197, -0.010195774026215076, 0.04998601973056793, -0.0336124412715435, -0.007186938542872667, 0.008708519861102104, 0.006868321448564529, 0.0402957908809185, 0.0...
<p>I just have 2 questions: </p> <p>(1) If we can obtain samples from the posterior distribution, is there any need to try to compute posterior expectations and intervals analytically...? </p> <p>(2) Also, I know that Monte Carlo methods will, in general, produce different results every time they are run, but how mig...
g66742
[ 0.017125749960541725, -0.019632091745734215, -0.002635194454342127, -0.02972101978957653, -0.045421015471220016, -0.03889178857207298, -0.028370799496769905, 0.006590206176042557, -0.0301517304033041, -0.015192272141575813, 0.0016394465928897262, 0.035791248083114624, 0.0535273477435112, 0...
<p>I am reading the book Data Analysis: A Bayesian Tutorial. The book mentions it would be wrong to bootstrap a single data element and use the posterior pdf as the prior. I understand it would be wrong to do this but can you show me either mathematically or intuitively why this bootstrap idea is folly. </p>
g66743
[ 0.017065122723579407, -0.01595209538936615, 0.021815354004502296, -0.04074306786060333, 0.009017602540552616, 0.022109955549240112, 0.008680583909153938, 0.0035075703635811806, -0.08939709514379501, -0.04394378513097763, 0.06425123661756516, 0.030972134321928024, 0.05030513554811478, 0.001...
<p>I am working on a homework problem for my probability class:</p> <p>(Cramer Application) </p> <p>A. Let $X_1, X_2, ... X_n$ be a sample from a distribution with pdf $f(x;p) = q^xp$. Determine the MLE of $p$</p> <p>Solution: I was able to do this straight from the definition of of the distribution and the log-like...
g66744
[ 0.007460886146873236, -0.015330342575907707, -0.00041831957059912384, -0.017813825979828835, 0.016946367919445038, -0.030676444992423058, 0.016572844237089157, -0.011509208008646965, -0.06162011995911598, -0.00635603116825223, 0.044287312775850296, 0.0237400121986866, 0.050277646631002426, ...
<p>When $Y = AX + \varepsilon$ (i.e., $Y$ comes from linear regression model), $$\varepsilon \sim \mathcal{N}(0, \sigma^2 I) \hspace{1em} \Rightarrow \hspace{1em} \hat{e} = (I - H) Y \sim \mathcal{N}(0, (I - H) \sigma^2_{})$$ and in that case residuals $\hat{e}_1, \ldots, \hat{e}_n$ are correlated and not independent. ...
g66745
[ 0.06313970685005188, -0.04080349951982498, -0.005748140159994364, 0.00911717303097248, -0.0475294403731823, 0.025536278262734413, 0.019937440752983093, 0.013946449384093285, 0.009773939847946167, -0.028127655386924744, 0.028241368010640144, 0.04682657867670059, 0.00020605462486855686, -0.0...
<p>My study is about "Churn Risk Evaluation of College Students". I decided to use R software, already had a result for the survival probability of an old data (all the students already left or graduated), and also have identified the significant variable using Cox model analysis. </p> <ol> <li>I want to have an outpu...
g776
[ -0.03046681545674801, -0.06562161445617676, -0.002563340123742819, -0.04918340966105461, -0.043028462678194046, -0.008864936418831348, 0.018886737525463104, 0.036647018045186996, -0.06648106873035431, 0.003473810851573944, 0.0029423520900309086, 0.08829542249441147, 0.11286938935518265, -0...
<p>I did a bunch of searches on this but did not find anything conclusive. Does the generalized beta distribution of the second kind, also known as the generalized beta prime distribution, have a closed-form conjugate prior? If so, could someone tell me what it is, with a literature citation if you happen to have one h...
g42757
[ 0.0437275655567646, -0.010921231471002102, 0.020463455468416214, -0.06774914264678955, 0.004480816423892975, 0.03184375911951065, 0.006566024385392666, -0.042646586894989014, -0.014048014767467976, -0.07473152875900269, 0.0025343105662614107, 0.03432692587375641, -0.03454878553748131, 0.03...
<p>I have heard this said by one of my professors, but he is not available for me to ask anymore. But if this is the case then why are there others defined on the wikipedia page, and why do authors refer to higher order moments in papers??</p> <p>Many thanks.</p>
g66746
[ 0.060987912118434906, 0.014415094628930092, -0.028344009071588516, -0.024946309626102448, 0.0646042451262474, -0.023299043998122215, -0.02301374077796936, 0.020980652421712875, -0.03462878614664078, -0.0022807158529758453, -0.061988864094018936, -0.02238886058330536, 0.015015345066785812, ...
<p>Maximum entropy classifier is mostly used for Natural Language Processing, in which the datas are discrete. I learned the formalism from the paper <em>A maximum entropy approach to natural language processing</em> and understood most of it.</p> <p>My question is, how to apply the Maximum Entropy principle to do the...
g66747
[ 0.02545527182519436, -0.0696258470416069, 0.026341887190937996, -0.06294761598110199, -0.0520973764359951, -0.05747025087475777, -0.08663652092218399, 0.10672648251056671, -0.09613679349422455, 0.0029491225723177195, -0.00599168473854661, -0.043922703713178635, 0.06757810711860657, -0.0245...
<p>I have a binary logistic regression with 5 IVs and all of their 2-way interactions. I have reduced/removed multicollinearity between main variables and their interactions by centering the main variables. I have found one of the best models according to LRT. The model also accords reasonably with theory. Everything i...
g25925
[ 0.027340589091181755, -0.016659067943692207, 0.0034923420753329992, -0.04637930542230606, 0.0190547127276659, -0.03536149859428406, -0.03287472948431969, 0.028053445741534233, 0.01848503388464451, -0.024824893102049828, 0.005015950184315443, -0.00835783313959837, -0.004141331650316715, 0.0...
<p>I have a set of binary vectors where each vector represents one day of occupancy in a house and consists of 48 elements (each element for 30 minutes of the day). Each element can be 1 meaning that house was occupied and 0 for non occupied house.</p> <p>My task is to predict the next day based on the history of the ...
g66748
[ -0.012501831166446209, 0.01292553823441267, 0.002705585677176714, -0.04739800840616226, -0.08126095682382584, -0.049281854182481766, 0.03877890110015869, 0.020104821771383286, -0.011875350028276443, -0.044868338853120804, 0.02543603628873825, 0.02246924489736557, 0.054549653083086014, 0.04...
<p>Given a normal distribution of annual mean values (sunny days per year), I know the P50 and the annual uncertainty.</p> <p>Is there any method to calculate the monthly uncertainty? Thank you very much.</p>
g25928
[ 0.015669668093323708, 0.01036174688488245, 0.0015938131837174296, 0.022064806893467903, -0.07132495939731598, 0.05342911183834076, 0.01455450989305973, -0.029736842960119247, 0.008766845799982548, -0.015652993693947792, 0.05806124955415726, 0.008111231029033661, 0.02263556979596615, -0.022...
<p>Suppose one has a matrix of data $X$, which is $n$ observations by $p$ dimensions.</p> <p>Let $P_\perp$ be a projection onto some $k&lt;p$ dimensional subspace. Suppose one computes the principal direction of $P_\perp(X)$. Is there a principled way to reconstruct this principal direction in the full $p$-space?</p>
g25929
[ 0.03499876707792282, 0.01858934573829174, -0.02597622573375702, -0.07198455184698105, -0.07051573693752289, -0.002918662503361702, 0.02757096476852894, 0.005189511924982071, -0.03865019604563713, -0.013722797855734825, 0.057745251804590225, 0.010875153355300426, 0.02071443386375904, -0.032...
<p>Our client software randomly selects a server to connect to. There are four separate addresses the software randomly chooses from. Two addresses are "old" and two are "new". As many firms need to explicitly allow outbound access to IP addresses, there will be some firms (users of some firms) that cannot connect to t...
g25932
[ -0.03931165859103203, 0.0029940276872366667, -0.014864757657051086, -0.05228129401803017, -0.029969127848744392, -0.045210856944322586, 0.04810461401939392, 0.01004838291555643, -0.02670406550168991, 0.004817356821149588, -0.017551645636558533, 0.008030038326978683, -0.0028606539126485586, ...
<p>I have two data-sets for same samples. But they are produced using two different instruments. I want to choose one data-set for further analysis. How can I find/prove which data-set is better? <br/></p> <p>To make it more simple - let's say we took photos of 50 males and 50 females using two different types of came...
g66749
[ 0.01905309595167637, -0.018771104514598846, 0.0260520838201046, -0.026688724756240845, -0.01653040014207363, -0.004935819655656815, 0.04757733643054962, -0.04203308746218681, -0.06130867823958397, -0.010717002674937248, 0.034978531301021576, 0.0800933763384819, 0.06375068426132202, 0.01020...
<p>I have an interview with a top company for a data scientist position. I was made aware that they will be testing probability/statistical theory concepts. </p> <p>So the question:</p> <p>If you had 1 hour tops to do an all-inclusive interview about a range of topics, and wanted to test someone's knowledge of pro...
g49343
[ 0.016648516058921814, 0.009871788322925568, -0.0003247064014431089, 0.02540801279246807, -0.03465987741947174, -0.01894780993461609, -0.043007537722587585, -0.007345971185714006, 0.004413821268826723, -0.006423555314540863, 0.02393420971930027, 0.010615382343530655, -0.013993908651173115, ...
<p>I am somewhat familiar with various ways of testing mediation for factors in different types of regression analysis. (I'm using R and currently working with a multilevel binary logistic regression.) But now I have a situation in which I'd like to test whether one interaction between factors mediates another, and I...
g4765
[ -0.01740158535540104, -0.018564291298389435, 0.0178152434527874, -0.028459396213293076, 0.05088625103235245, -0.026958802714943886, 0.03027316927909851, -0.028724469244480133, -0.00415589427575469, -0.0007183842826634645, -0.05029812827706337, 0.0057901861146092415, 0.028004156425595284, 0...
<p>In an experiment with 5 technicians from different companies, we investigated effects of new equipments. The interested response variable is categorical. </p> <p>One thing I am considering is that the technician effect is a random effect. But it's hard to include a random effect in the multinomial logistic model. I...
g66750
[ -0.022743195295333862, 0.012667641043663025, -0.008109369315207005, -0.012208325788378716, -0.00520068034529686, -0.03157293424010277, -0.0007394992862828076, 0.017895637080073357, -0.021447675302624702, -0.011027568019926548, -0.012630446814000607, 0.02621583826839924, -0.019030366092920303...
<p>I have data for several individuals that takes the following form over time. Many individuals are flat over the course of a year, meaning their measurements stay roughly the same. Others have a peak or two and are then flat. And others have many peaks. For each individual I must find an average (representative) valu...
g66751
[ 0.010235918685793877, -0.01347237266600132, -0.0213411096483469, -0.053955383598804474, -0.04434381052851677, -0.010601124726235867, 0.04101114347577095, 0.008979419246315956, -0.026461204513907433, -0.008684650994837284, -0.030255012214183807, 0.02968737855553627, -0.01640181802213192, 0....
<p>My question is if data are in paired groups (before and after treatment), where the pre-treatment group is normally distributed and the post-treatment group is not normally distributed (i.e. it is skewed), then which test should be applied? Is the Wilcoxon sign rank test appropriate?</p>
g66752
[ 0.004311512690037489, -0.05415831506252289, 0.001884050783701241, -0.022361472249031067, 0.006568608805537224, -0.01348091010004282, 0.02426145039498806, 0.0643981546163559, 0.00612611835822463, -0.016019262373447418, 0.0016148725990206003, 0.06253327429294586, -0.026119155809283257, -0.00...
<p>How is a random forest model affected if some of the variables are not independent? </p>
g66753
[ -0.042397595942020416, -0.03056906908750534, 0.00655532069504261, 0.00981112476438284, -0.0012475175317376852, 0.011102708987891674, -0.05128553509712219, 0.03263401240110397, 0.0173779483884573, -0.003599091200158, -0.0552869476377964, 0.0028728931210935116, -0.017074987292289734, 0.05265...
<p>My question is very closely related to a previous post <a href="http://stats.stackexchange.com/questions/51520/error-term-in-repeated-measures-anova-in-r">Error term in repeated measures ANOVA in R</a> However, I would like to get more insight into how to define the error term.</p> <p>Suppose I have a two-way repe...
g66754
[ -0.00814378634095192, -0.03489837050437927, -0.0022049956023693085, -0.043804340064525604, -0.03256211429834366, 0.00679960660636425, 0.025644730776548386, -0.044020138680934906, -0.04491167142987251, 0.031986966729164124, -0.051131121814250946, 0.02150464989244938, -0.021126853302121162, ...
<p>I would like to understand what the following code is doing. The person who wrote the code no longer works here and it is almost completely undocumented. I was asked to investigate it by someone who thinks "<em>it's a bayesian logistic regression model</em>"</p> <pre><code>bglm &lt;- function(Y,X) { # Y is a ve...
g66755
[ -0.020768335089087486, -0.004193217493593693, -0.013903122395277023, -0.015208834782242775, 0.04093160107731819, -0.02184983156621456, 0.029590552672743797, -0.001712849480099976, -0.054676465690135956, -0.05029314383864403, -0.07407073676586151, 0.00913106556981802, 0.0805281549692154, -0...
<p>I have 82 respondents in 2 groups (43 in Group A and 39 in Group B) that completed a survey of 65 Likert questions each ranging from 1 – 5 (strongly agree - strongly disagree). I therefore have a dataframe with 66 columns (1 for each question + 1 indicating group allocation) and 82 rows (1 for each respondent). </p>...
g66756
[ 0.04212353751063347, 0.01912790909409523, -0.006595217157155275, -0.0785137340426445, 0.0027056208346039057, -0.014670001342892647, 0.004557159263640642, 0.026927299797534943, 0.0324053093791008, -0.008321795612573624, 0.06910523027181625, 0.0055353399366140366, 0.05705813691020012, -0.012...
<p>I am currently building a statistical model. According to data, the variance is non-constant, and it is likely based on a factor. Is there any statistical model with variance as a function of other parameters? What is its name, and can that model be fitted in R?</p>
g777
[ 0.04024198278784752, -0.029304536059498787, -0.014959249645471573, 0.006901705637574196, -0.008011619560420513, -0.0060799820348620415, 0.00518611678853631, 0.02212115190923214, 0.002039622515439987, -0.022325899451971054, -0.017118515446782112, 0.007443986367434263, -0.005908646620810032, ...
<p>I'm brand new to statistics and am studying the math behind split testing (A/B and multivariate). I've learned how to calculate $\chi^2$ with given test data, and I understand how to translate this into a probability via a table, but I'd like to be able to calculate the probability myself. I've read through a couple...
g4786
[ 0.03420427069067955, 0.05376170948147774, -0.016226887702941895, -0.028250521048903465, -0.05070748180150986, -0.00993821956217289, 0.032890696078538895, 0.08376782387495041, -0.00990488100796938, -0.006163644604384899, -0.03842302784323692, -0.010251925326883793, 0.02799624390900135, -0.0...
<p>The residuals have an AR(2) structure. Is it appropriate to add AR terms to a fixed-effects panel model?</p>
g66757
[ -0.008751314133405685, -0.05709894374012947, 0.014983642846345901, -0.03239089623093605, -0.021506037563085556, 0.0033064018934965134, -0.02159055694937706, -0.006699081044644117, -0.020742448046803474, -0.02628272771835327, 0.007768335752189159, 0.04449722170829773, -0.005288688000291586, ...
<p>Penalized models can be used to estimate models where the number of parameters is equal to or even greater than the sample size. This situation can arise in log-linear models of large sparse tables of categorical or count data. In these settings, it is often also desirable or helpful to collapse tables by combining ...
g25937
[ 0.016512000933289528, -0.000568200193811208, -0.007696840912103653, -0.03555084392428398, 0.03982521593570709, -0.020462829619646072, 0.04748336225748062, 0.006759912706911564, -0.011991145089268684, 0.032635483890771866, -0.04095734283328056, -0.017469974234700203, 0.08145290613174438, 0....
<p>I am running a GLM, using the function glm.nb (pscl package) trying to figure how what could influence a particular trait in several locations and years. The output as follow (with slight modification and removing the things beyond this question)</p> <pre><code> Estimate Std. Error z value Pr(&gt;|z|) ...
g66758
[ 0.03260370343923569, -0.06002594530582428, -0.005484433379024267, -0.043795693665742874, -0.042524613440036774, -0.02618960663676262, 0.08845222741365433, 0.02194913849234581, -0.06528709828853607, -0.020800059661269188, -0.04976092651486397, 0.05258769541978836, 0.012389466166496277, -0.0...
<p>I have the cardinalities of sets $N_i, \forall i \in 1,2..n$, and the cardinalities $|N_i \cap T|, |N_i|, |T|, |N_i \cup T|, \forall i$, are known. </p> <p>Here, the set $T$ and sets $N_i$'s are all subsets of a mother :) set M and $|M|$ is also known.</p> <p>Using these quantities, I would like to compute the no...
g66759
[ 0.01858593337237835, 0.0343758687376976, -0.01419561542570591, 0.019591310992836952, -0.027735749259591103, -0.05296046659350395, -0.010721992701292038, -0.023598743602633476, -0.043875180184841156, -0.012430674396455288, -0.01582622155547142, -0.011211378499865532, 0.04789568856358528, 0....
<p>Imagine, that we measured two values and we know, that in reality one measurement directly corresponds to the latent variable "s1", and the other measurement is in fact sum of two values: "s1" and unknown "s2". Given the measurements input<a href="http://doing-bayesian-data-analysis.12272.x6.nabble.com/How-to-model-...
g66760
[ -0.012255237437784672, -0.04271997883915901, -0.003954541403800249, -0.005628808867186308, -0.0009249231079593301, -0.03218816965818405, 0.013553417287766933, 0.02568414807319641, -0.0053104921244084835, -0.0299678985029459, -0.040116529911756516, 0.054993413388729095, 0.03883232921361923, ...
<p>I stumbled upon this term in <em>McFadden - Analysis of qualitative choice behavior</em> (page 111).</p> <p>It is said that </p> <blockquote> <p>"A random Variable $X$ is <em>translation complete</em> if for a function <em>h</em> of bounded absolute variation with $h(\pm\infty)=0$, the condition $E(h(X+a))=0...
g66761
[ 0.030929580330848694, 0.026827780529856682, -0.004989557433873415, 0.0004636189842130989, -0.005736444611102343, -0.044332195073366165, 0.02921820431947708, 0.008073175325989723, -0.010735703632235527, 0.014822292141616344, -0.05496406555175781, -0.0637674406170845, 0.06031502038240433, -0...
<p>I have my set of documents and have extracted the unique words from them, including a count of the number of times each word appears in the document. But it would seem from the documentation on the <a href="http://radimrehurek.com/gensim/tut2.html" rel="nofollow">Python library I'm using</a>, that word count within...
g46345
[ 0.0023431500885635614, 0.028712838888168335, 0.007159541826695204, -0.05851992592215538, 0.014734853059053421, -0.006333999801427126, 0.011916665360331535, 0.07592681050300598, -0.055951472371816635, 0.03787713125348091, -0.02126581035554409, -0.039565496146678925, -0.027881715446710587, 0...
<p>I have some data where I've measured the response times of the same participants in two sessions and within 36 conditions (each participant took part in all 36 conditions). So the data are repeated measures across both IVs, however I've been informed that I can run it as though it was an independent-measures ANOVA b...
g66762
[ -0.004058717284351587, 0.005725378170609474, -0.005782649852335453, 0.025133637711405754, -0.012992825359106064, 0.012956234626471996, -0.010825546458363533, 0.005829750094562769, 0.021971410140395164, -0.007233072072267532, -0.026687154546380043, 0.015907615423202515, -0.08996500819921494, ...
<p>My lab has data from an experiment with a treatment and a control, and pre and post tests. The data will be analyzed by standard 2X2 repeated measures ANOVA.</p> <p>However, the response variable is of cell counts in tissue expressed as a percentage of total cells. There are many subjects with 0%'s and the rest som...
g25942
[ 0.0228478591889143, -0.019336121156811714, -0.012141449376940727, -0.0029085930436849594, -0.05059387534856796, -0.007652029395103455, -0.003615632187575102, -0.023000188171863556, -0.06287389248609543, -0.030429262667894363, 0.013190885074436665, 0.01941353641450405, 0.024504657834768295, ...
<p>I have multiple time series where at any point in the time series, an event can occur that I believe has an effect on the time series. This event can happen at different times for each of the different time series. How would I go about estimating the effect of this event on a time series where the event has not yet ...
g4830
[ 0.0028698064852505922, -0.01397797092795372, 0.030230166390538216, -0.014530098997056484, -0.017666108906269073, -0.009139347821474075, 0.016742199659347534, 0.07337283343076706, -0.06772027909755707, -0.00009098395821638405, -0.056326162070035934, 0.006786791142076254, -0.004175125621259212...
<p>Could I please check if there are any theoretical or practical pitfalls if one uses implementations of the $k$-sample Anderson-Darling test [3] to perform the two sample Anderson-Darling test [1,2]? For example, there is the R package adk, which is an implementation of the $k$-sample Anderson-Darling test.</p> <hr>...
g66763
[ 0.046367865055799484, -0.08501984179019928, 0.0266986396163702, -0.01567397452890873, -0.022669285535812378, -0.045794159173965454, -0.006923777982592583, -0.017277419567108154, 0.01932891272008419, 0.04635421559214592, 0.00790959969162941, 0.0051660193130373955, 0.05559288710355759, 0.022...
<p>I'm testing the sensitivity of different factors on the benefits of precision irrigation. The change in the inputs is changing the output but not significantly. How is it possible to do a regression for these factors?</p>
g25249
[ -0.018464451655745506, 0.019536985084414482, -0.01149735413491726, 0.011825460940599442, -0.01335998997092247, -0.024587009102106094, 0.05878947675228119, -0.001669112010858953, -0.024665676057338715, 0.00778922438621521, -0.023684462532401085, 0.056659795343875885, 0.05678471922874451, 0....
<p>Random Forests work by creating an ensemble of decision trees where each tree is created using a bootstrap sample of the original training data (sample of both input variables and observations).</p> <p>Can a similar process be applied for linear regression? Create k linear regression models using a random bootstrap...
g25946
[ -0.035328108817338943, -0.018217651173472404, 0.03468368947505951, -0.003477686084806919, 0.018211014568805695, -0.01236849743872881, -0.03327510133385658, 0.025390533730387688, -0.04283801093697548, -0.01713106781244278, 0.02774111181497574, -0.0013963759411126375, 0.0327112153172493, 0.0...
<p>For clustered data, how would you interpret the coefficients? Would you just exponentiate the coefficient to get an odds ratio? </p>
g66764
[ -0.0016345414333045483, -0.060863036662340164, 0.00017172943626064807, -0.02059304714202881, 0.004173709079623222, -0.035709042102098465, 0.0014222442405298352, 0.059539854526519775, 0.009993558749556541, -0.04747743159532547, -0.007857131771743298, 0.02348354086279869, 0.039975009858608246,...
<p>I have some data (a set of numbers) and I want to compare them with the normal distribution using QQ-plot. The only statistical tool that I am aware of is Octave but Octave doesn't draw the reference line.</p> <p><img src="http://i.stack.imgur.com/RMTrF.png" alt="enter image description here"></p> <p>As can be see...
g25949
[ 0.013775509782135487, -0.00676804780960083, -0.013313467614352703, -0.06852395087480545, -0.03821967914700508, -0.016077795997262, -0.007788214832544327, -0.04336422681808472, -0.07305623590946198, -0.03214106336236, 0.001323107397183776, 0.019170574843883514, 0.03204967454075813, -0.01558...
<p>In May 2010 Wikipedia user Mcorazao added a sentence to the <a href="http://en.wikipedia.org/wiki/Skewness">skewness article</a> that "A zero value indicates that the values are relatively evenly distributed on both sides of the mean, typically but not necessarily implying a symmetric distribution." However, the wik...
g66765
[ -0.025556765496730804, 0.03833816200494766, -0.02662176825106144, -0.028055021539330482, -0.03452470898628235, -0.04368365928530693, -0.02569047175347805, 0.05440719798207283, -0.020668456330895424, 0.004527417477220297, -0.0365181602537632, -0.03261547163128853, 0.05301007255911827, -0.00...
<p>Much like with regression, handling binary dependent variables in SEM requires special considerations. In particular, some of these are noted on Dave Garson's <a href="http://faculty.chass.ncsu.edu/garson/PA765/structur.htm" rel="nofollow">Structural Equation Modeling</a> and include:</p> <blockquote> <ol> <li>...
g37466
[ 0.028014790266752243, -0.018147332593798637, 0.006543305702507496, -0.03773798048496246, -0.045659031718969345, -0.06254318356513977, 0.02471645548939705, 0.03879198431968689, -0.0016088915290310979, -0.014314982108771801, 0.028636112809181213, -0.021219588816165924, 0.042548615485429764, ...
<p>To cluster (text) documents you need a way of measuring similarity between pairs of documents.</p> <p>Two alternatives are:</p> <ol> <li><p>Compare documents as term vectors using <strong><a href="http://nlp.stanford.edu/IR-book/html/htmledition/dot-products-1.html#8077">Cosine Similarity</a></strong> - and TF/IDF...
g25951
[ 0.03029070608317852, -0.011882486753165722, -0.0033254397567361593, -0.08608497679233551, 0.003744328860193491, -0.01148719247430563, -0.025808442384004593, 0.016962992027401924, -0.056345269083976746, -0.009273811243474483, 0.024379907175898552, -0.06481166183948517, 0.09123601019382477, ...
<p>(Background info <a href="http://mathiology.blogspot.nl/2014/04/logistic-regression-with-gradient_7.html" rel="nofollow">taken from my blog</a>) In logistic regression, the hypothesis function, which models the relationshiop between the dependent variable $P(y = 1)$ and the independent variable $X$, is : \begin{...
g66766
[ -0.027955008670687675, -0.0011444624979048967, -0.016790704801678658, -0.004505063407123089, 0.006971349939703941, -0.034881141036748886, 0.05119328945875168, -0.02996963821351528, -0.06687192618846893, -0.017985988408327103, -0.033265113830566406, 0.04784457013010979, 0.019371094182133675, ...
<p>I'm trying to fit a discrete-time model in R, but I'm not sure how to do it.</p> <p>I've read that you can organize the dependent variable in different rows, one for each time-observation, and the use the <code>glm</code> function with a logit or cloglog link. In this sense, I have three columns: <code>ID</code>, <...
g25954
[ 0.016347546130418777, 0.011478502303361893, -0.020264968276023865, -0.06733402609825134, 0.01732885092496872, 0.0055133928544819355, -0.009331946261227131, -0.017249979078769684, -0.05586438253521919, -0.03058909997344017, -0.006348022725433111, -0.051496367901563644, 0.04310004040598869, ...
<p>I'm new to SAS coding from SPSS point and click. I don't currently have SPSS, so SAS is my only option.</p> <p>My question is: how do I get the percent variance explained and cumulative variance explained following varimax rotation?? I get the total that I would get under 'Rotation Sums of Square Loadings' but not...
g42973
[ 0.039193008095026016, -0.02787979133427143, 0.012896384112536907, -0.05705725774168968, -0.0076018571853637695, -0.009107978083193302, 0.04021844267845154, -0.019502369686961174, 0.012145345099270344, -0.060016557574272156, 0.006980701349675655, 0.043183472007513046, 0.009052966721355915, ...
<p>I need to manually calculate multi-step prediction intervals for time series data. I know packages like 'forecast' in R provide these, but I cannot use these packages as the production infrastructure does not support R. </p> <p>Could someone point me to an article that explains how to generate multi-step prediction...
g66767
[ -0.005991468671709299, 0.005172010511159897, -0.0039309668354690075, 0.004236740991473198, -0.08231280744075775, -0.04098452255129814, 0.009943468496203423, 0.0742407888174057, -0.03859630972146988, -0.025495028123259544, -0.05537324398756027, -0.010016455315053463, 0.024011928588151932, -...
<p>I have a study where they randomized patients into 2 groups (A and B). The primary aim is to compare group A against a fixed/ true value of 0.75. The binomial test is not stratified and cochran mantel haenszel needs 2 groups. How can I perform a stratified test for risk differences against a true value? </p>
g189
[ 0.010726978071033955, -0.04086600989103317, -0.012579020112752914, -0.027918921783566475, 0.004542526323348284, -0.008242551237344742, -0.023320775479078293, 0.0007942540105432272, -0.050275254994630814, -0.009046655148267746, 0.03256887570023537, 0.011549861170351505, 0.0039304508827626705,...
<p>To calculate the PDF function using Shannon entropy I have scaled my original sample by simply doing $x'=(x-a)/(b-a)$; where $b=\text{max}(x)$, and $a=\text{min}(x)$ and then I found the $\text{PDF}(x')= exp(-\lambda_0-\lambda_1x'-\lambda_2x'^2)$ using optimization with subjection to moments constraints. However it'...
g66768
[ -0.02345779724419117, -0.05658002570271492, 0.010901999659836292, -0.08267034590244293, -0.04286954551935196, -0.05489520728588104, -0.01926085539162159, 0.03674115240573883, -0.05652697756886482, 0.02920161746442318, 0.002976074116304517, 0.013400344178080559, 0.06170332804322243, -0.0230...
<p>I need to calculate the positive predictive value for a validation set for a rare event. The problem is that the validation set was oversampled for the rare event. The event occurs in 5 percent of the population, however the oversampling has adjusted it to be in 50 percent of the sample. </p> <p>How does the oversa...
g25958
[ -0.0033161595929414034, 0.028101453557610512, 0.019385935738682747, 0.006439526099711657, -0.026692809537053108, 0.024631712585687637, 0.01732204109430313, 0.06610948592424393, -0.02565726265311241, -0.013865861110389233, -0.03154454380273819, 0.04206359013915062, -0.008965292945504189, 0....
<p>Survival times are often right censored and left truncated. From my experience, it does not seem like OpenBUGS allows for both. Truncation is denoted as T( , ) and censoring as C( ,). For instance, a censored observation known to lie above 10 days, but cannot have been observed below 2 days (left truncation) seem li...
g66769
[ -0.0069034588523209095, -0.03514699637889862, -0.006804889068007469, -0.045315150171518326, 0.02785502001643181, 0.011944865807890892, 0.004789937753230333, 0.02462850697338581, -0.03861827775835991, -0.006821304094046354, -0.019869090989232063, -0.03647489845752716, 0.009001231752336025, ...
<p>I have read about eigen faces and eigen voices etc in signal processing which involves PCA. They used to refer to the principal components selected to process for image recognition etc. But now I heard from somewhere about eigen gene in genetics and computational biology. OK if they are the principal components, how...
g66770
[ 0.029447082430124283, -0.05581490695476532, 0.01788075640797615, -0.085471011698246, 0.027257246896624565, -0.015500234439969063, 0.07211826741695404, 0.04629489779472351, -0.029483109712600708, -0.046447597444057465, 0.005426593590527773, 0.02429180033504963, 0.08769334852695465, 0.008498...
<p>I want to create two random variables $X \sim N(0,1)$ and $Y \sim N(0,1)$ that satisfy $E(X,Y)=0.5 $</p> <p>That is I want to create $Z=(X,Y)^\top $ with a joint bivariate normal distribution</p> <p>$ Z \sim N\left( \left(\begin{array}{c} 0\\ 0 \end{array}\right) , \left(\begin{array}{cc} 1 &amp; 0.5\\ 0.5 &amp; 1...
g49376
[ 0.01014414057135582, -0.061487819999456406, -0.01679227314889431, -0.03101939521729946, 0.012846369296312332, -0.023418627679347992, 0.03158339485526085, -0.030770035460591316, -0.036551620811223984, 0.007270453963428736, 0.008279959671199322, 0.031512148678302765, -0.022426975890994072, 0...
<p>I want to compare 6 designs of spoons (D1,D2,D3,D4,D5,D6) in 20 children (blocks).I also want to see whether holding the spoon in right or left hand affects food-pinching response(number of M&amp;M's picked and placed in cup). I have dataset with response % noted for each design type on all of the 20 children, and ...
g66771
[ -0.021092090755701065, -0.010375351645052433, -0.0035511988680809736, -0.03056165762245655, -0.023973045870661736, 0.009934513829648495, 0.0523260198533535, -0.004115831572562456, -0.014355858787894249, -0.0014001448871567845, -0.0198807530105114, 0.031377341598272324, 0.02837962843477726, ...
<p>It is a homework question from coursera course Core Concepts in Data Analysis.</p> <p>I think we need to know at least variance of $X$ to calculate the value. </p> <p>The staff gives a hint we can calculate it with the coefficient of determination. But I have no idea what the coefficient is. </p>
g66772
[ 0.021902654320001602, 0.028220366686582565, -0.02298637479543686, -0.013318367302417755, 0.04219464212656021, -0.03729776665568352, 0.04149023815989494, 0.017943499609827995, -0.016594700515270233, -0.0605609193444252, -0.06343997269868851, 0.10081861913204193, 0.010569979436695576, 0.0077...
<p>I'm analyzing two financial time series with Johansen method. A high Correlation coefficient using the Pearson method will help me to detect spurious cointegration models to avoid? </p> <p>If this is not the case, which is the best method would provide clue about it? </p> <p>Thank you</p>
g66773
[ 0.09187409281730652, 0.016903914511203766, 0.027110831812024117, -0.03493709862232208, 0.03538815677165985, -0.004947186913341284, 0.03838197514414787, -0.01331250835210085, -0.007095309440046549, 0.013755656778812408, -0.023798462003469467, -0.003212554147467017, 0.03767847269773483, 0.00...
<p>In <a href="http://stats.stackexchange.com/questions/41394/list-of-situations-where-a-bayesian-approach-is-simpler-more-practical-or-more">this</a> community wiki page a twice-upvoted comment asserted by @probabilityislogic asserted that "Multi-level modelling is definitely easier for bayesian, especially conceptual...
g66774
[ 0.004832219332456589, 0.04535845294594765, 0.008137723430991173, 0.016798097640275955, 0.005790309980511665, -0.049359358847141266, -0.010419128462672234, -0.011551780626177788, -0.04345390945672989, -0.0007739595021121204, 0.007962498813867569, -0.06132280454039574, 0.0697190910577774, 0....
<p>I have a time series which I can preprocess by using centering and scaling. </p> <p>In this respect I have the following questions</p> <ol> <li><p>Should I preprocess the response as well as the variables or only the predictive variables? </p></li> <li><p>If I preprocess the dependant variable as well as the indep...
g66775
[ 0.04889655113220215, -0.0013192410115152597, -0.005866286810487509, -0.08616727590560913, 0.010418393649160862, -0.042664337903261185, 0.007065772544592619, 0.02316884696483612, 0.002144238445907831, -0.012576621025800705, 0.007513177115470171, 0.04046521708369255, 0.0008921998669393361, 0...