question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>I have one simple model and one more complex model (both are PDEs that describe displacement, when different kind of forces and thermal effects take place). From those, given some data, I calculate through PyMC the posterior distribution of a parameter (elasticity). Now I want to calculate the Bayes' factor, and I a...
g18128
[ 0.049264416098594666, -0.061935968697071075, 0.009249900467693806, -0.04163164272904396, 0.016025478020310402, 0.048969510942697525, -0.009530395269393921, 0.053534768521785736, -0.029867924749851227, -0.05288152024149895, 0.016958609223365784, -0.03213473781943321, 0.05282069370150566, -0...
<p>Rookie here -- I have a a large data set with about 75,000 observations, and 2000 unique IDs. Therefore, each unique ID has about 37 observations. I'm trying to draw a random sample of unique IDs, say 4, so that I have a new data frame of 4 random unique IDs and roughly 150 observations. Any insight?</p>
g61527
[ -0.05915626883506775, 0.04461073875427246, -0.015915410593152046, -0.1122385635972023, -0.010578564368188381, -0.05389152094721794, -0.019026746973395348, -0.0024059833958745003, -0.013188567943871021, -0.060244038701057434, 0.011321882717311382, 0.012552556581795216, 0.05647105351090431, ...
<p>I use a hexplot to visualize data in R. I'm wondering if I can make the number of the colors of the bins grow. </p> <p>Let me give you an example:</p> <pre><code>library(hexbin) plot(hexbin(rnorm(1000000),rnorm(1000000))) </code></pre> <p>This creates the following plot: </p> <p><img src="http://i.stack.imgur.c...
g18129
[ -0.020421359688043594, 0.0610981285572052, 0.004828618373721838, -0.09945026785135269, 0.012559464201331139, -0.003813447430729866, -0.009794384241104126, 0.005930157378315926, -0.07757426798343658, -0.06189906969666481, 0.0078339958563447, -0.000777807435952127, 0.05235055461525917, 0.013...
<p>Firstly, excuse my naivity but I am just starting out in research.</p> <h3>Overview of study</h3> <p>I am doing a project looking at Social anxiety in adolescence and using social network analysis (SNA). I argue that negative peer relations accounts for variance in social anxiety above and beyond individual level ...
g61528
[ 0.04168759658932686, -0.017552338540554047, 0.010927329771220684, -0.004886352922767401, 0.0018397289095446467, 0.02418551594018936, 0.028579505160450935, 0.0503140389919281, -0.009701970033347607, 0.018548669293522835, 0.023272626101970673, 0.007268419023603201, -0.023164141923189163, 0.0...
<p>I have three different methods that I would like to compare using ANOVA. The variable to compare is method accuracy that I get trough cross-validation. This means that the same data set (N=60 subjects) is divided into training and test sets, and into placebo and treatment groups (every subject has taken part to both...
g18133
[ -0.019533419981598854, -0.06006668135523796, 0.015055743977427483, -0.01174266915768385, 0.014998137950897217, 0.03698492795228958, -0.003609386505559087, -0.00934508815407753, -0.058473534882068634, 0.018075784668326378, 0.0014852647436782718, 0.008266270160675049, -0.03339454159140587, 0...
<p>Eight rooks are placed in distinct squares of an 8 x 8 chessboard, with all possible replacements being equally likely. Find the probability that all the rooks are safe from one another.</p>
g61529
[ 0.03705209493637085, 0.03302713856101036, 0.027752304449677467, -0.051753267645835876, 0.005772740580141544, -0.03164598345756531, -0.005265234969556332, 0.040667418390512466, 0.03924209624528885, 0.02276470512151718, -0.05060066282749176, 0.009900148026645184, -0.074820876121521, -0.05029...
<p>I know that for panel data RE probit model we should average out the individual effects and in order to do that we do the following: $$f(y_1,...,y_T|x_i, \theta) = \int[\prod_{t=1}^T f(y_t|x_{it},c;\beta)\frac{1}{\sigma_c}\phi(\frac{c}{\sigma_c})]dc $$ I would be very grateful if someone could explain how an assump...
g18135
[ -0.0030544563196599483, 0.00507874833419919, -0.0013845530338585377, -0.03415503352880478, 0.059287264943122864, -0.0036751769948750734, 0.050098832696676254, -0.01799103617668152, -0.07762455940246582, -0.014863426797091961, -0.037376679480075836, 0.05907919630408287, 0.003565300954505801, ...
<p>I'm sure this is a very straightforward question but it came up in my work today and I could not think of the reasoning behind it.</p> <p>I had two sets of numeric values (A &amp; B) and was looking at the median of their ratio and noticed that median(A)/median(B) is not equal to median(A/B) and I was wondering if ...
g61530
[ -0.000249591248575598, -0.014662730507552624, 0.00937830749899149, -0.04493269696831703, -0.0066350712440907955, 0.014006677083671093, -0.032961513847112656, 0.03042753040790558, -0.02016853727400303, -0.0504307821393013, 0.036494020372629166, 0.06553717702627182, -0.007602179888635874, -0...
<p>Is $f(x)=e^{x^Tx'}$ a suitable kernel to be choosen? If so, to what dimension does it transform the data?</p>
g47961
[ -0.02787245810031891, 0.04893745854496956, 0.011132868006825447, -0.030595727264881134, -0.0023314673453569412, -0.03729688376188278, -0.008796503767371178, -0.010882989503443241, -0.052663277834653854, 0.0015081058954820037, -0.00037272454937919974, 0.0016467206878587604, 0.0547845736145973...
<p>I was always under the impression that regression is just a more general form of ANOVA and that the results would be identical. Recently, however, I have run both a regression and an ANOVA on the same data and the results differ significantly. That is, in the regression model both main effects and the interaction ar...
g61531
[ 0.004874395672231913, -0.023345928639173508, -0.006625587120652199, 0.010577061213552952, 0.020561328157782555, 0.008922312408685684, 0.055113766342401505, 0.016064703464508057, -0.0152926379814744, -0.014613405801355839, 0.0013998827198520303, 0.01481478288769722, 0.005791767966002226, 0....
<p>I am trying to cross validate a logistic regression model with probability sampling weights (weights representing number of subjects in the population). I am not sure how to handle the weights in each of the 'folds' (cross-validation steps). I don't think it is as simple as leaving out the observations, I believe ...
g61532
[ 0.028379123657941818, -0.021019138395786285, 0.027753783389925957, -0.03296542540192604, -0.001519833691418171, 0.01592354103922844, 0.013969062827527523, -0.005799506790935993, -0.04076160863041878, 0.02030950039625168, 0.04343947023153305, -0.0517900213599205, 0.03704552352428436, 0.0176...
<p>I would like to predict the number of flu cases in the future using predictive modeling. I am very new to statistics, so I'm not sure which classifier to use in this case.</p> <p>For the attributes, I'm using historical data (2 years) as well as geographical location and age groups.</p> <p>Are these attributes eno...
g18138
[ 0.03856363520026207, -0.07298737019300461, 0.01821453683078289, -0.04093508794903755, -0.01971091330051422, -0.02940508909523487, 0.014119850471615791, 0.03872047737240791, 0.04269108921289444, -0.051967211067676544, 0.03274064138531685, 0.04026389494538307, 0.06598217785358429, -0.0084589...
<p>I'm looking at measures from different studies (for a meta-analysis) and hoping to provide an aggregate effect size. I'm trying to identify hetero-/homo-geneity to determine whether I should use a random or fixed effects model. I do not have the original data - but rather effect sizes calculated from the individual...
g61533
[ -0.012654387392103672, -0.014523454941809177, -0.011333170346915722, -0.04625258222222328, 0.02791917510330677, -0.03159389644861221, -0.0037383923772722483, 0.03859306871891022, -0.012773881666362286, -0.01910286396741867, -0.01773333176970482, 0.013672498986124992, 0.01085669081658125, 0...
<p>Suppose we have factor X with n levels, factor M with p levels, then $\hat{Y} = X+M+X\cdot M$ and $\hat{Y} = X \cdot M$ will give us two parametrizations of the same model, since we can only get $np-1$ estimates for the coefficients. What, if anything, is gained by including the main effects directly in the model?</...
g61534
[ -0.015732476487755775, -0.025556743144989014, -0.012240354903042316, 0.01238925103098154, 0.04349370300769806, 0.016450630500912666, 0.03764417767524719, -0.0529426634311676, -0.03450173884630203, -0.020642336457967758, -0.09048549830913544, 0.013665402308106422, 0.05213067680597305, -0.01...
<p>I'm trying to run a 3 level hierarchical regression in lmer in R. The model is specified:</p> <pre><code>model &lt;- lmer(dependent ~ ind1 + ... + (1|level3/level2), data=data) </code></pre> <p>However, when I enter this code, R starts processing it for 20 minutes and doesn't respond. Am I doing something incorrec...
g28203
[ 0.01436978206038475, -0.025822827592492104, -0.010673348791897297, -0.04589586704969406, 0.04739871621131897, 0.0068588824942708015, 0.03875856474041939, 0.02676994539797306, -0.09948346763849258, -0.04638929292559624, -0.014263749122619629, 0.05664036050438881, -0.0334283709526062, -0.016...
<p>I am currently working in remote sensing. It is quite common to find that the beginning of the statistical descriptions of techniques used in satellite image processing begin with defining the initial images in question as random vectors. Would this be solely for the purpose of this data to be compatible with the pr...
g61535
[ -0.001544453320093453, -0.014544869773089886, -0.0005515910452231765, -0.02179049514234066, -0.01840335503220558, -0.03936883434653282, 0.036806367337703705, -0.03325721248984337, -0.0073349797166883945, -0.012744185514748096, 0.04134375974535942, 0.001145769958384335, 0.039023272693157196, ...
<p>It seems universal that demographic statistics are given in terms of 100,000 population per year. For instance, suicide rates, homicide rates, disability-adjusted life year, the list goes on. Why?</p> <p>If we were talking about chemistry, parts per million (ppm) is common. Why is the act of counting people look...
g61536
[ 0.04960959404706955, 0.03335922956466675, -0.0036895463708788157, -0.012570333667099476, 0.02308606542646885, 0.011207416653633118, 0.008213287219405174, 0.040024835616350174, 0.057404812425374985, -0.02875245362520218, 0.025949589908123016, -0.015358634293079376, 0.058259591460227966, 0.0...
<p>I wonder if it possible to include a mediation effect in multinomial logistic regression. I have a categorical (3 categories) outcome variable and four predictors (all continuous). I expect one of the predictors (X1) to mediate the relationship between the outcome variable and another predictor (X2). I also expect d...
g61537
[ -0.011541477404534817, -0.026967886835336685, 0.015857569873332977, -0.022217297926545143, 0.008790464140474796, -0.062458839267492294, -0.030833739787340164, 0.05534715577960014, -0.03490593656897545, -0.05739111825823784, -0.033754199743270874, -0.0278254933655262, 0.04483403265476227, 0...
<p>I've been using the <code>MCMCglmm</code> package recently. I am confused by what is referred to in the documentation as R-structure and G-structure. These seem to relate to the random effects - in particular specifying the parameters for the prior distribution on them, but the discussion in the documentation seems ...
g61538
[ 0.013159876689314842, -0.04638957232236862, -0.01848343387246132, -0.03648088127374649, -0.006640327163040638, 0.011622254736721516, 0.07154395431280136, 0.018095778301358223, -0.05036057531833649, -0.04154285788536072, -0.0033742657396942377, 0.039433278143405914, -0.0021841132547706366, ...
<p><strong>The case:</strong> I am investigating the impact of various predictors on the odds of migration using a discrete-time event history model within a multilevel framework. The outcome variable is dichotomous (0=not migrated; 1=migrated). The predictors are largely time varying covariates operating at the indivi...
g61539
[ -0.0011608200147747993, 0.0277213454246521, 0.0013032116694375873, -0.037076447159051895, -0.029597807675600052, -0.017862459644675255, 0.056615397334098816, 0.019762009382247925, -0.029675690457224846, 0.0424673967063427, -0.042879216372966766, -0.031236428767442703, 0.03721104562282562, ...
<p>I am trying to run a model to describe the rate of water table drawdown in the soil. The predicted variable is rate, and I am interested in the effect of two categorical variables: (1) if the water table is above a certain threshold (yes, no) and (2) if the rate is different between seasons (summer / fall). I have m...
g61540
[ -0.03212895616889, -0.05523032695055008, -0.02719847857952118, -0.0187855064868927, -0.028940603137016296, 0.006647096481174231, 0.07647489756345749, 0.03578881919384003, -0.04117438942193985, -0.002812744816765189, -0.0257850494235754, 0.0166897252202034, 0.07244206964969635, 0.0073575214...
<p>Consider you have a binary classifier which you tested on dataset AB=A union B.</p> <p>Assume that the several Area Under the Curve metrics for the three datasets are: AUC(A), AUC(B), and AUC(AB). Without loss of generality, assume AUC(A) &lt;= AUC(B).</p> <p>Is the expression AUC(A) &lt;= AUC(AB) &lt;= AUC(B) gua...
g61541
[ 0.048404015600681305, 0.001229301793500781, 0.0006380628910847008, -0.03190707415342331, 0.030001768842339516, -0.02946849912405014, 0.017236312851309776, 0.005288228392601013, -0.03118336945772171, -0.03990834578871727, -0.04327693209052086, 0.07050781697034836, 0.05559555068612099, -0.04...
<p>I know that one if one is trying to perform linear regression, multicollinearity can be an issue because it can "lead to unreliable and unstable estimates of regression coefficients." Suppose for a second that I have the following correlation matrix for potential continuous predictor variables I want to regress aga...
g61542
[ 0.019763952121138573, -0.008873095735907555, 0.0016067634569481015, -0.010835708118975163, 0.062004510313272476, -0.029099201783537865, -0.0014323409413918853, 0.02198789082467556, -0.037016987800598145, -0.04287421330809593, -0.03870658949017525, -0.01760462298989296, 0.007162545807659626, ...
<p>We have conducted a repeated measures experiment in which we have registered the response time (RT) of each subject in 21 trials in each of 2 conditions. I have some questions related to the best analysis we can conduct... First, to reduce individual variability between subjects, we have standardize "within subject...
g18147
[ 0.007270445581525564, -0.03653412684798241, -0.008680475875735283, -0.0517413392663002, -0.06108859181404114, -0.017912734299898148, 0.008650652132928371, -0.007482182700186968, -0.021954059600830078, 0.001677551306784153, -0.018570676445961, 0.036143045872449875, -0.018013792112469673, 0....
<p>I have the following linear model:</p> <p>$$w^*=\text{arg min}_w\sum_{i=1}^N \bigg(Y_i-\sum_{j=1}^M X_{i,j}\times w_j\bigg)^2$$</p> <p>Let $T \in N^*$ and $e_i=|Y_i-\sum_{j=1}^M X_{i,j}\times w_j|$. </p> <p>It's possible using logistic regression to predict which errors will be less than $T$ (i.e., $e_i&lt;T$) an...
g18148
[ 0.0030389749445021152, -0.04414951428771019, -0.02077139914035797, -0.06317675858736038, -0.026865703985095024, -0.0448002852499485, 0.049239642918109894, -0.0588994100689888, -0.0657663345336914, -0.0161596592515707, 0.004225478041917086, 0.05786857753992081, 0.0521390326321125, 0.0193234...
<p>I am using "smooth.spline" in R. Here is a snippet from the documentation:</p> <p><a href="http://stat.ethz.ch/R-manual/R-patched/library/stats/html/smooth.spline.html" rel="nofollow">http://stat.ethz.ch/R-manual/R-patched/library/stats/html/smooth.spline.html</a></p> <p>smooth.spline {stats} R Documentation </p> ...
g18149
[ 0.06901875138282776, -0.047608163207769394, -0.016754623502492905, -0.008919780142605305, -0.001065484364517033, -0.018052928149700165, 0.09749695658683777, 0.04141945019364357, -0.06047224998474121, 0.007304437458515167, 0.007058469578623772, 0.03886089473962784, 0.04899982362985611, -0.0...
<p>Ok, almost all applications I have seen that use HoG features use linear svm as classifier. Can someone explain for me why linear svm are chosen and why they give good performance?</p> <p>Are linear svm chosen because it more simple and easier to train than svms that use polynomial or gaussian kernel and using thes...
g61543
[ 0.05949973315000534, -0.006457999348640442, 0.022361041978001595, 0.027361098676919937, 0.013387084938585758, -0.027678128331899643, -0.01993151195347309, 0.053724270313978195, -0.036379553377628326, 0.0023204470053315163, 0.0010429623071104288, 0.01880008913576603, 0.05400576442480087, 0....
<p>I’m reading <em><a href="http://rads.stackoverflow.com/amzn/click/081764055X" rel="nofollow">A Probability Path</a></em> by S. Resnick, and I got stuck on one problem:</p> <blockquote> <p><strong>Problem 1.16</strong> (<em>pp. 22-23</em>) Suppose $C$ is a class of subset of $\Omega$ such that $\Omega \in C$, ...
g22188
[ 0.031150950118899345, 0.025388797745108604, -0.0016873000422492623, 0.00030951749067753553, 0.0016711195930838585, -0.01913454197347164, 0.05955523997545242, 0.05293503776192665, -0.016283534467220306, -0.018995467573404312, -0.0433482900261879, 0.00840294174849987, 0.009387126192450523, -...
<p>I have two random variables: $x = N(0, \sigma^2)$ and $y =U[0, b]$. I need to compute $E(x/(1+y))$. How does one go about doing this? They are independent so the joint pdf is just the product of the two pdfs but can the integral be computed in closed form or is this something that should just be done numerically?...
g61544
[ 0.015748685225844383, -0.07360810786485672, -0.0066581484861671925, -0.03210880979895592, -0.03657998517155647, -0.03407759591937065, 0.015376020222902298, 0.046110302209854126, -0.04273444414138794, 0.04456949606537819, 0.005585045553743839, 0.025259708985686302, 0.024639734998345375, 0.0...
<p>I'm starting to want to advance my own skillset and I've always been fascinated by machine learning. However, six years ago instead of pursuing this I decided to take a completely unrelated degree to computer science. </p> <p>I have been developing software and applications for about 8-10 years now, so I have a goo...
g18156
[ -0.0018114044796675444, 0.0655883401632309, 0.0254981592297554, -0.0007486346294172108, -0.04075843095779419, 0.03658437728881836, 0.007176843471825123, 0.02180132269859314, -0.043762192130088806, -0.03497206047177315, 0.009669316001236439, 0.012480500154197216, 0.0951784998178482, 0.01999...
<p>My question is how can different anomaly detection algorithms be compared for my specific dataset. Essentially, I have multivariate timeseries (physical quantities such as temperature, pressure) and a label in one of the time stamps saying that my physical system reached some critical state (e.g. had to shutdown, fa...
g61545
[ 0.0247357040643692, -0.09196602553129196, -0.02316148392856121, -0.03454630449414253, -0.02952137216925621, -0.017603076994419098, 0.018975263461470604, -0.006771152373403311, -0.00949990563094616, 0.03711387887597084, 0.032362792640924454, 0.04733318090438843, 0.0354902446269989, 0.036023...
<p>I do not know much about statistics as you could notice below. I need to calculate the significance of change in land cover in two periods of time. The problem is I have two equal by surface territories with different by territory land cover territories so when using two-tail t-test I get p=1: Is it because the cha...
g18158
[ 0.02200888842344284, 0.03829663246870041, 0.003051212290301919, -0.011076009832322598, -0.003788548754528165, 0.023676617071032524, 0.03532165288925171, -0.0015707991551607847, 0.008491492830216885, 0.018743939697742462, 0.01533758919686079, 0.005842072889208794, 0.07501653581857681, 0.049...
<p>Suppose I have massive data set (think Terabytes) is available to train a learning algorithm. Which one of the following conditions must be true to obtain good performance (low error rate)</p> <p>a. Using a complex model with many parameters, including high order polynomial features of the original space (e.g x^1...
g61546
[ 0.041974518448114395, 0.030242422595620155, 0.006680318620055914, -0.0032156200613826513, 0.01763896644115448, -0.02186431922018528, 0.047476157546043396, 0.03842759504914284, 0.0018076247069984674, 0.026074178516864777, -0.004953133873641491, 0.05960933119058609, 0.03916357085108757, -0.0...
<p>I have ran a nested ANOVA on a data set and the results suggest that there is an association for the higher level with an insignificant P-value but also an association for the lower level with a significant P-value. Is this even possible, or have I done something completely wrong?</p> <p><em>Details</em></p> <p>I ...
g18160
[ -0.00960891880095005, 0.012365679256618023, -0.010417863726615906, 0.013215380720794201, 0.030531229451298714, 0.028950057923793793, 0.013807401061058044, -0.00767363328486681, -0.040610551834106445, -0.009781362488865852, -0.03579140082001686, 0.024762187153100967, 0.014977574348449707, 0...
<p>I an trying to perform a multivariate linear regression in R. </p> <p>I have two dependent variables (outcomes) and one independent variable (predictor). The model would be something like: </p> <pre><code>y1,y2~x </code></pre> <p>I did not find any way to implement this in R. Any help?</p>
g61547
[ -0.00008384912507608533, -0.06616745889186859, -0.006069212220609188, 0.009211800061166286, -0.044836532324552536, -0.029000211507081985, -0.001730309217236936, 0.015899278223514557, -0.032815150916576385, -0.06054587662220001, -0.0025976274628192186, 0.020212480798363686, -0.002508497796952...
<p>Is there a way to calculate the optimal sample size for a balanced panel over 8 years from a population of approximately 30,000 and involving 10 variables being studied, say for 95% degree of confidence?</p>
g18161
[ 0.03311062976717949, 0.0015255409525707364, 0.025794705376029015, -0.058993853628635406, -0.005629879422485828, -0.008239460177719593, -0.04038972780108452, 0.016087070107460022, -0.005169804207980633, -0.00035853360895998776, 0.021043872460722923, -0.0013014825526624918, -0.0397407487034797...
<p>Can anyone help explain some of the mathematics behind classification in CART? I'm looking to understand how two main stages happen. For instance I trained a CART classifier on a dataset and used a testing dataset to mark its predictive performance but:</p> <ol> <li><p>How is the initial root of the tree chosen?</p...
g49521
[ 0.019447609782218933, -0.0070314533077180386, -0.02539815939962864, -0.03922318294644356, 0.04831143096089363, -0.059263940900564194, 0.07747916132211685, -0.00869433768093586, -0.041574206203222275, 0.007080849260091782, -0.0038176947273314, 0.059236470609903336, 0.10684946924448013, -0.0...
<p>Assume I have $N$ samples $x_1, \cdots, x_N$ from a Gaussian random variable $X\sim N(\mu, \sigma^2)$ where both $\mu$ and $\lambda = 1/\sigma^2$ are unknown.</p> <p>If I apply MLE, I have $\mu_{MLE} = \frac{1}{N} \sum_i x_i$, and $\lambda_{MLE}^{-1} = \frac{1}{N} \sum_i (x_i - \mu_{MLE})^2$. Note that $\lambda_{ML...
g18163
[ 0.0014103683643043041, -0.04455650597810745, -0.00013650105393026024, -0.09436400979757309, 0.00725107965990901, -0.01391605008393526, -0.013540452346205711, 0.00009970118844648823, -0.05636816844344139, 0.00660422770306468, 0.03827304393053055, 0.06166951358318329, 0.024477900937199593, 0...
<p>I have simulated one possible path of a variance gamma process by the following code:</p> <pre><code>vektor&lt;-c(1:23) S0=20 theta=0.01 v=5 sigma=0.1 vektor[1]&lt;-S0 for (i in 2:23){ randomgamma&lt;-rgamma(1, shape=1/v, scale = v) randomnormal&lt;-rnorm(1,mean=0,sd=1) vektor[i]&lt;-vektor[i-1]+theta*randomgam...
g18164
[ 0.003388419048860669, 0.0032951664179563522, -0.005278194323182106, -0.02373122237622738, 0.03344636410474777, -0.00923977605998516, 0.03130736202001572, -0.005668302532285452, -0.022102154791355133, 0.007597923278808594, 0.041484199464321136, 0.04778117313981056, 0.005733250640332699, 0.0...
<p>(This is part-2 of my long question, you can have a look at part-1 <a href="http://stats.stackexchange.com/questions/1099/how-to-handle-count-data-categorical-data-when-it-has-been-converted-to-a-rate">here</a>)</p> <p>I am going to do a quasi-experiment, with measuring the base line of a sample (actually not quite...
g47998
[ 0.03508574888110161, -0.03219497948884964, -0.02298717014491558, -0.056925173848867416, 0.019291646778583527, -0.050608232617378235, 0.04588640481233597, 0.05095997452735901, 0.007853075861930847, -0.034305717796087265, 0.04012686014175415, 0.014152674935758114, 0.0388355553150177, 0.02915...
<p>If I have a (financial) time series, and I sample it with two different periods, at 5 and at 60 minute intervals, can I create an exponential moving average on the 5 minute sampled data which is the same as an exponential moving average on the 60 minute sampled data?</p> <p>Something like this:<br> e1 = EMA(a1) app...
g61548
[ 0.016262996941804886, -0.04411967471241951, -0.0009990960825234652, -0.00965876691043377, -0.015539866872131824, -0.038676999509334564, 0.007770800031721592, -0.017930805683135986, -0.04867003113031387, 0.030389046296477318, 0.015028293244540691, 0.048127830028533936, 0.05661064013838768, ...
<p>I have approximately 1200 input parameters that I am trying to whittle down with the following rough process:</p> <p>1) Fit rbf SVM with n = 1200 parameters and calculate Matthews Correlation Coefficient(cross validation with 10 partitions)</p> <p>2) Fit linear SVM, find the lowest weight (absolute value) paramete...
g61549
[ 0.08628997951745987, -0.060443777590990067, 0.0018000565469264984, -0.024113869294524193, 0.04030683636665344, -0.014629459008574486, 0.07510745525360107, 0.04602115973830223, -0.045662060379981995, 0.028682850301265717, -0.0011591543443500996, -0.020966876298189163, 0.024299178272485733, ...
<p>I have a set of data which consists of many different types (measurable, categorical) For example: name measurable_attribute_1 categorical_attribute_1 measurable_attribute_2 categorical_attribute_2 ...</p> <p>Number of attributes may grows quite quickly during my study: into my spreadsheet, I can as many ne...
g61550
[ -0.004942728206515312, 0.013153934851288795, -0.010560430586338043, -0.048658691346645355, -0.006222389172762632, -0.03705567494034767, 0.03595541790127754, -0.00019899453036487103, -0.038897085934877396, -0.058303602039813995, 0.00018197110330220312, 0.0029457544442266226, 0.085283212363719...
<p>[0,1,0,2,4,1,0,1,5,1,4,2,1,3,1,1,1,1,0,1,1,0,2,0,2,0,0,1,0,1,2,2,1,2,4,1,4,1,0,0,4,1,0,1,0,1,1,2,1,1,0,0]</p> <p>What is the best way to convince myself that these data are correlated? that no univariate discrete distribution would approximate them well? that a time series model is necessary to better estimate the ...
g61551
[ 0.0255124494433403, 0.026340302079916, -0.007429675664752722, -0.04522458091378212, 0.006368968170136213, 0.029202649369835854, -0.0031277681700885296, -0.014122805558145046, -0.0010374424746260047, -0.04555689916014671, 0.044761646538972855, -0.022087130695581436, 0.014748108573257923, 0....
<p>In the absence of good a priori guesses about the number of components to request in Independent Components Analysis, I'm looking to automate a selection process. I think that a reasonable criterion might be the number that minimizes the global evidence for correlation amongst the computed components. Here's pseudo...
g18170
[ -0.0028715210501104593, -0.03338710591197014, 0.011740309186279774, -0.05524061620235443, -0.030983487144112587, -0.05939415842294693, 0.07567434757947922, 0.05297088623046875, -0.041517578065395355, 0.012265569530427456, 0.046827517449855804, 0.008234276436269283, 0.031193500384688377, 0....
<p>I have made a very simple questionnaire that asks questions that are independent of each other. Every question can be answered with a rating between 1 and 5 where 1 means I strongly disagree and 5 I strongly agree.</p> <p>Now I was wondering with statistical methods I could use to evaluate the results. I know maybe...
g61552
[ 0.010178782977163792, -0.008303875103592873, -0.012332359328866005, -0.0293442215770483, -0.04212145879864693, 0.018748782575130463, -0.04753655567765236, 0.004450548905879259, -0.020429009571671486, -0.041877105832099915, 0.003118334338068962, -0.010479362681508064, 0.03951247036457062, 0...
<p>I am a bit lost in the process of WLS regression. I have been given dataset and my task is to test whether there is heteroscedascity, and if so I should run WLS regression.</p> <p>I have carried out the test and found evidence for heteroscedascity, so I need to run the WLS. I have been told that WLS is basically OL...
g61553
[ -0.008699470199644566, -0.030968980863690376, 0.00865694135427475, -0.08689333498477936, -0.0014887177385389805, -0.016428859904408455, 0.002701291348785162, 0.01867809146642685, -0.01558265183120966, -0.03449486941099167, -0.0128828389570117, 0.051249247044324875, 0.08122002333402634, -0....
<p>I ran a mixed model using lme4::glmer for a logistic regression and consistently got these warning messages. I noticed there are still regular results even so, but are they accurate estimates?</p> <pre><code> &gt; glmm.ms1&lt;-glmer(as.formula(paste(paste(y[1], x, sep="~"), mix[1], sep="+")), + d...
g18171
[ -0.008066887967288494, -0.08483470231294632, 0.001029989798553288, -0.009166259318590164, 0.032004546374082565, -0.04216744005680084, 0.06773821264505386, -0.05802002176642418, -0.0687180906534195, -0.020307306200265884, 0.0011857678182423115, 0.013258250430226326, 0.03404218330979347, 0.0...
<p>The best way I can think to describe this question is by example: Imagine there is a ship sailing around the pacific ocean on an unknown path (possibly random.) Other ships passing by sometimes see this ship and radio in its location to me. Some of these scout ships have better instruments or a more trustworthy crew...
g48011
[ 0.01828678324818611, -0.03293783590197563, -0.012854466214776039, -0.06645313650369644, 0.00557356933131814, -0.029811730608344078, 0.040026288479566574, 0.011000505648553371, -0.06326872110366821, -0.03554686903953552, 0.0430166982114315, 0.023557351902127266, 0.08165867626667023, 0.04193...
<p>Suppose I have a non-stationary limited data. Do I have to make it stationary before making forecasts? Can I use exponential smoothing, moving averages or even Holt Winters methods without making my data stationary? I've read that time series should be stationary to use such methods? Is that correct?</p>
g61554
[ 0.021894797682762146, -0.04900737851858139, 0.024281229823827744, -0.013224097900092602, -0.02785545028746128, 0.021704358980059624, 0.04440593719482422, -0.001029025879688561, -0.05195505917072296, -0.03766994550824165, 0.03628930822014809, 0.021069876849651337, 0.040506381541490555, 0.00...
<p>If you flip a coin and get 268 heads and 98 tails, you can calculate the probability that coin is fair several ways. A simple, heuristic observation would have most likely conclude that such a coin is unfair. I've calculated the p-value in R with:</p> <pre><code>&gt; coin &lt;- pbinom(98, 366, 0.5) &gt; coin*2 [1] ...
g48014
[ 0.04252519831061363, 0.03448886796832085, -0.01993134431540966, -0.057337645441293716, 0.033455248922109604, -0.03213251754641533, 0.040822163224220276, 0.01306732464581728, -0.02241731621325016, -0.028180552646517754, 0.01941661164164543, 0.06416512280702591, 0.04322008416056633, -0.00048...
<p>I've made a little questionnaire where participants can rate an answer between 1 and 5. I calculated the mean value, the average value and the standard deviation.</p> <p>Now I was asking myself if it is possible to calculated a confidence interval for these results and if yes, if this would tell me anything. So I j...
g18175
[ -0.012298326939344406, 0.018198024481534958, -0.017320705577731133, 0.030725689604878426, -0.05109770968556404, 0.0400896891951561, -0.008781175129115582, -0.041723091155290604, -0.06178157776594162, -0.0580483041703701, -0.015259543433785439, 0.03111010231077671, 0.019542831927537918, -0....
<p>Can anyone help me understand the Pearson correlation formula? the sample $r$ = the mean of the products of the standard scores of variables $X$ and $Y$. </p> <p>I kind of understand why they need to standardize $X$ and $Y$, but how to understand the products of both the z scores? </p> <p>This formula is also cal...
g61555
[ 0.03061665967106819, -0.040390148758888245, 0.004097686614841223, -0.018891077488660812, 0.03902743011713028, -0.01468073669821024, 0.045299120247364044, 0.023382874205708504, 0.005914375651627779, -0.013158454559743404, -0.004894984886050224, 0.03710808604955673, 0.0019370169611647725, -0...
<p>Hopefully a very simple question:</p> <p>If we're told we have n observations, but the model we're evaluating is</p> <p>$$ y_t = \alpha + \sum_{i=0}^{p}{\beta_i x_{t-i}} + \epsilon_t $$</p> <p>And say I'm testing $ H_0: \beta_1 = \beta_2 = 0 $</p> <p>Would the F statistic have: $F(2, n - p - 1)$ distribution, or...
g61556
[ -0.019440531730651855, 0.05423643812537193, -0.014887153171002865, 0.02068246901035309, 0.08211260288953781, -0.05990365520119667, 0.037427011877298355, 0.04145389795303345, -0.020518137142062187, -0.04239269345998764, -0.039660029113292694, -0.0022549552377313375, 0.01677246205508709, 0.0...
<p>When looking for specific indirect effect sizes (lets say we have several series of mediators between "A" and "B"), I have runned nested models. In one model (lets call it, "happy face") I constrained to zero all the paths involved in the specific indirect effect I am not interested in. Then I get a specific indirec...
g61557
[ -0.027863137423992157, 0.0036478862166404724, 0.00042023026617243886, -0.026086270809173584, 0.023728881031274796, -0.05809042602777481, 0.019185485318303108, -0.029312847182154655, -0.06423760950565338, -0.02041247859597206, -0.02501680701971054, 0.07811687141656876, 0.08044761419296265, ...
<p>Is there any way to construct an expected conditional probability distribution of the form p(x|(y,z)) if I am starting with p(x|y) and p(x|z)? All variables are categorical.</p> <p>My specific problem deals with a DNA multiple-sequence alignment. Abstractly, I have a two-dimensional dataset, where each position can...
g18177
[ -0.01458346750587225, 0.010923890396952629, 0.00802091509103775, -0.04264537990093231, -0.04659873992204666, -0.04781060293316841, -0.003030701307579875, 0.06797284632921219, -0.03028862737119198, -0.043183181434869766, 0.008785145357251167, -0.041671913117170334, 0.05336270108819008, -0.0...
<p>I have been working with nonlinear models whose parameters have been estimated by Maximum Likelihood. Also, I use the "Vuong" test for model selection in non-nested models, this test requires to have every single value of log-likelihood of the sample. Lately, I found the GNM function really useful for estimating mod...
g18178
[ -0.03343183919787407, -0.06343801319599152, 0.015122349373996258, -0.01989283412694931, 0.040659382939338684, -0.06051943823695183, 0.0046154046431183815, 0.014158785343170166, -0.049457211047410965, 0.034567940980196, -0.06715477257966995, 0.028007391840219498, 0.023185210302472115, 0.067...
<p>For a project, I've collected some basic information on weather, and some basic information on births. Both data sets are focused on a single state, Massachusetts. The weather set contains very basic information: the weather event (hail, winter storm, etc.), and the month it occurred in. Not very granular. Simil...
g18181
[ 0.06016497313976288, -0.022285055369138718, -0.015455290675163269, -0.035068023949861526, -0.0009753283229656518, -0.054754458367824554, 0.04584554582834244, -0.006090810522437096, 0.004628149326890707, -0.05858460068702698, 0.028968485072255135, 0.05691138282418251, 0.05985259637236595, -...
<p>I have measured frequency of a certain behavior on 15 individuals. I would like to create two groups based on the amount of this behaviour that was observed (i.e., a group exhibiting high levels of the behaviour and a group exhibiting low levels of the behaviour).</p> <p>I want to see whether this new binary varia...
g3772
[ -0.05053677782416344, -0.010784570127725601, -0.006446308456361294, -0.07049424201250076, 0.011213134974241257, -0.05964520201086998, 0.054078008979558945, -0.026901524513959885, -0.029776975512504578, -0.08092830330133438, 0.011847004294395447, 0.03412315994501114, -0.006881868001073599, ...
<blockquote> <p>Ben has a coin which he claims is weighted in a way so that when he flips it, heads appears more often than 50% of the time. He tries to prove it to you by flipping the coin 100 times, which results in 60 heads.</p> <p>Test the claim that the population proportion of heads that result from flippi...
g61558
[ 0.019451860338449478, 0.05010012164711952, -0.03306078910827637, -0.06240188330411911, 0.017619220539927483, -0.05292389169335365, 0.021025381982326508, 0.0030153088737279177, 0.01234450563788414, 0.0012445284519344568, -0.005188829265534878, 0.028523365035653114, 0.04187233746051788, 0.01...
<p>I hope this is an appropriate forum for this question...if not, any pointers on a place to ask would be great. If my questions is not clear, please just let me know and I'll try to add information/explanation where I can.</p> <p>Say I have a set of data points that I run through a <a href="http://en.wikipedia.org/...
g18184
[ 0.04501229152083397, 0.005964068230241537, 0.014478569850325584, -0.030759762972593307, 0.0283720251172781, -0.06437458097934723, -0.0032878248021006584, 0.06202466040849686, -0.03266061842441559, -0.04502266272902489, -0.0005638077273033559, 0.030917955562472343, 0.06703218817710876, 0.03...
<p>I have divided my data (a matrix of proximities expressed by cosines between 94 objects) into clusters with Ward hierarchical method, and I am very happy with the results from a visual point of view. However, I'd like to check whether the quality of the clusters is good.</p> <p>I've been told that for Ward method, ...
g61559
[ 0.023423435166478157, -0.04609986022114754, 0.006311105564236641, -0.09370436519384384, 0.037977829575538635, -0.011614108458161354, 0.02009943686425686, 0.013425813056528568, -0.02380872517824173, -0.03613611310720444, 0.06834210455417633, 0.003983017522841692, 0.0781305804848671, -0.0144...
<p>Other then gapminder.org, could you please direct me to any good examples (interactive or static) of visualizations that compare between countries?</p> <p>Thanks.</p>
g875
[ 0.03255663812160492, 0.04310557618737221, -0.030162887647747993, -0.03275691345334053, -0.006515067536383867, -0.001067001954652369, -0.008509154431521893, -0.023375254124403, 0.03239469602704048, -0.011392336338758469, 0.03498951345682144, -0.02866610884666443, 0.06489988416433334, -0.004...
<p>I am finishing up some analysis on a large set of data. I would like to take the linear model used in the first part of the work and re-fit it using an LME. The LME would be very similar with the exception that one of the variables used in the model would be used in the random effects. This data comes from many obse...
g18186
[ 0.021798107773065567, -0.08439341932535172, -0.00042084127198904753, -0.05270298570394516, -0.030942272394895554, -0.017814844846725464, 0.023978140205144882, -0.029773952439427376, -0.04730800539255142, -0.013723415322601795, 0.04609972983598709, 0.022832974791526794, 0.04135002940893173, ...
<p>I have two cosine signals in MATLAB both having a frequency of 100 Hz and the second signal has been delayed in time by 0.003 seconds. Both signals have been sampled at 1 Khz. When I use the cross correlation function and plot it to verify the delay between the signals, I expect to see a single point in time at whic...
g61560
[ 0.05640624091029167, -0.02563222497701645, 0.0006848298362456262, -0.024210048839449883, 0.09106457233428955, 0.022505780681967735, 0.04629702493548393, 0.017980428412556648, -0.021235432475805283, -0.00038614010554738343, 0.03220260888338089, 0.04701460525393486, 0.005218363367021084, -0....
<p>I'd like to modify the answer to <a href="http://stats.stackexchange.com/questions/21565/how-do-i-fit-a-constrained-regression-in-r-so-that-coefficients-total-1">this question</a> to allow weighted observations. I think all I need to do is weight the inputs X and Y. </p> <pre><code>X = w * X Y = w * Y </code></pr...
g61561
[ -0.020691564306616783, -0.02969382330775261, -0.010257049463689327, -0.0514766164124012, 0.0034053390845656395, -0.006036658771336079, 0.06500986218452454, 0.011167416349053383, -0.08124181628227234, -0.004081399645656347, -0.012035787105560303, 0.012378408573567867, 0.02780432254076004, 0...
<p>I need to resolve a question with the use of SPSS, but don't really know what model to use. The question talks about the environment (scale variable (from not at all concerned - very concerned)), I need to compare it to different scale variables like gender (male/female), age group, education level (no formal educat...
g61562
[ -0.017202941700816154, -0.030223727226257324, -0.001276246621273458, -0.019854014739394188, 0.012039736844599247, 0.0553927905857563, 0.013431616127490997, 0.008606960065662861, -0.008553965017199516, -0.016353970393538475, 0.03626614063978195, 0.03664541617035866, 0.034907128661870956, 0....
<p>I have used 1 DV and 5 IVs. I performed MR to test a model, entered age and gender in first block, IVs in second block, and interaction terms in third block. All the models are coming significant. How can I correct for the significance of interaction model as it is showing significant effect on DV now.</p> <p>And b...
g18189
[ -0.026817012578248978, -0.01575363054871559, -0.013891654089093208, -0.03379083424806595, 0.04413097724318504, -0.0034244165290147066, 0.03710949048399925, 0.03484029695391655, -0.008228552527725697, -0.015650518238544464, -0.05258883535861969, 0.0437336228787899, 0.01706097275018692, 0.03...
<p>Is it possible to have both Precision and Recall to be equal to 1.</p> <p>If such a case may exist, does it mean the system is over-fitting the dataset?</p>
g38002
[ 0.012562938034534454, 0.00026683739270083606, -0.013491664081811905, -0.030774906277656555, 0.010516537353396416, -0.052411291748285294, 0.026009175926446915, 0.0036060516722500324, -0.035636384040117264, -0.0032706372439861298, -0.02125229500234127, 0.009967906400561333, -0.0001779185404302...
<p>I should investigate the lead-lag relationship among 2 sets of data, annual incidence of a disease and annual average data of an environmental factor for 13 consecutive years. Both sets are not normally distributed and therefore, correlation should be assessed by Spearman's correlation. But "cross-correlation analys...
g45628
[ 0.08417729288339615, -0.0369151309132576, -0.01038091629743576, -0.03961806371808052, 0.013460894115269184, 0.053609371185302734, 0.06554826349020004, 0.015484589152038097, 0.0046941242180764675, -0.010320517234504223, 0.06552921235561371, 0.04389316961169243, -0.011762959882616997, -0.024...
<p>I've been trying to figure this one for weeks so your advise is very appreciated. I have log returns for the past 5 yrs on the following indexes: NYSE, Communication, Growth and Large Cap. I performed PCA on those and kept 2 ‘unobservable factors’ with loadings as follows:</p> <pre><code>NYSE Index 0.2599870 0....
g42079
[ 0.026583408936858177, -0.02067352831363678, -0.003749281167984009, -0.06902278959751129, 0.021325306966900826, 0.028875287622213364, 0.060782428830862045, 0.0026873252354562283, -0.02224094420671463, -0.03647223487496376, -0.03273332118988037, 0.05620883032679558, 0.034292276948690414, -0....
<p>Suppose a survey contained a dichotomous variable of chief interest, such as smoker/non-smoker, along with ten other dichotomous variables. Then suppose that the incidence of smokers is a rare event with an unknown population proportion. The goal is to infer differences between smokers and non-smokers from the answe...
g48042
[ 0.025131933391094208, -0.011477254331111908, -0.020830901339650154, -0.024564052000641823, -0.0006374043296091259, -0.05576840415596962, 0.027158847078680992, 0.02712326869368553, -0.0036620015744119883, -0.05674894526600838, -0.0033206664957106113, 0.023120474070310593, 0.008665884844958782...
<p>I am really new to statistics and now I have some data and I want to make a frequency table with the yearly salary (a variable in my data). In the end, I need to be able to say what is the maximum salary of the first 25% people and the minimum salary of the top 10%.</p> <p>How should I do it in SPSS?</p>
g61563
[ 0.024320831522345543, -0.04109477996826172, -0.012795720249414444, -0.024065790697932243, -0.04683058708906174, -0.06785202771425247, -0.04954766109585762, 0.014839645475149155, -0.04750804230570793, -0.03917740285396576, 0.001015027635730803, 0.01540275476872921, 0.05609574541449547, 0.01...
<p>In my elementary statistics course, I learnt how to construct 95% confidence interval such as population mean, mu based on <strong>asymptotic normality</strong> for "large" sample size. Apart from <strong>resampling methods</strong>, there is another approach based on <strong>"profile likelihood"</strong>. Could som...
g61564
[ 0.013310250826179981, -0.012157013639807701, 0.002233348088338971, 0.006052203010767698, -0.04055778309702873, 0.013598381541669369, 0.006591108627617359, 0.0454690046608448, -0.030141014605760574, 0.005101675167679787, 0.03771539404988289, -0.023703912273049355, 0.06424205750226974, 0.001...
<p>Suppose I wanted to know a one minute average of the time it takes to make a breath. So basically I would record the number of times I made a breath during one minute (one inhale and one exhale) and divide by 60 seconds to get the 1 minute average time to make a single breath? Would this be a distribution with a sta...
g45828
[ 0.015630261972546577, 0.011300837621092796, -0.017396679148077965, -0.013228634372353554, -0.04399016126990318, 0.0056899660266935825, 0.004076631274074316, 0.017937511205673218, -0.009651483967900276, -0.06345729529857635, -0.027953017503023148, -0.058433957397937775, 0.03415133059024811, ...
<p>Can somebody give me references (book/online resource) on using R for Marketing Mix Modelling?</p>
g18192
[ -0.023735014721751213, -0.03817879036068916, -0.00657427916303277, 0.010145653039216995, -0.028682522475719452, 0.01110687293112278, 0.010920601896941662, 0.03674410283565521, -0.011387367732822895, 0.017310695722699165, 0.006649142596870661, -0.03364945575594902, 0.04973907023668289, 0.02...
<p>I have a SPSS database with 747 patients with sickness symptoms and lab results as variables. With those symptoms and results I have generate two scoring systems. I sum the scores of all the variables to come to the final score.</p> <p>However, on one variable I have 546 missing values. For the 201 other patients I...
g61565
[ 0.0404789075255394, -0.06212855502963066, -0.002546498319134116, -0.05978173017501831, -0.04273934289813042, 0.0402224175632, -0.05205122008919716, 0.01586843840777874, 0.029365530237555504, -0.027663804590702057, -0.021033182740211487, -0.008860418573021889, 0.05156286433339119, 0.0064248...
<p>Do there exist any systems for symbolically solving expectations?</p> <p>This is sort of a follow-up to my question <a href="http://stats.stackexchange.com/q/9809/3577">List of Tricks for Solving Messy Expectations?</a> Basically, I'm looking for ways to solve a messy expectation after I've exhausted all obvious r...
g18194
[ -0.019065191969275475, 0.02444518357515335, -0.03160618618130684, -0.0188620425760746, -0.049718935042619705, -0.05499217286705971, 0.05697156488895416, -0.013387147337198257, -0.03647275269031525, -0.0360012948513031, 0.0014608522178605199, 0.05349947139620781, 0.064961738884449, 0.056873...
<p>I'm doing some research into methods for discretizing a continuous variable coupled with a binary target variable to find the optimal split points to maxamise a measure of impurity (gini/entropy).</p> <p>First off I'm having some trouble coming up with google-able terms. "Optimal Split" seems to relate to choosing ...
g61566
[ 0.01029440388083458, -0.006357491482049227, 0.004400181118398905, -0.025211460888385773, -0.009207207709550858, -0.05862044915556908, -0.06475614756345749, 0.051230378448963165, -0.052644941955804825, 0.004749036859720945, -0.016858505085110664, -0.008131780661642551, -0.01918947510421276, ...
<p>I have a device which rotates on a stepper motor through a belt and pulley system. I would like to know both the positional accuracy and precision of this movement.</p> <p>It is of my opinion that this should be determined by taking a large number of measurements to random angles to give a bell curve then using the...
g18195
[ 0.006177541799843311, -0.05120081827044487, -0.0059732114896178246, 0.035383738577365875, 0.020215269178152084, -0.010956593789160252, 0.0795614942908287, 0.020501812919974327, 0.003614105749875307, -0.0019377314019948244, -0.029289958998560905, 0.005967854987829924, 0.027783237397670746, ...
<p>I am trying to understand how CNN works. I want to use them in object recognition task. I thouhgt that CNN is unsupervised networks. My main question is how can I implement the back propagation without using image targets (pre-defined labels), in order to calculate the error function which will affect the weights of...
g61567
[ -0.01951107569038868, -0.009841477498412132, 0.01741701550781727, -0.04275600612163544, 0.027371879667043686, -0.004492819309234619, 0.07541441917419434, 0.05919282138347626, -0.08840849995613098, -0.062265731394290924, -0.024067377671599388, 0.029794510453939438, 0.08213933557271957, 0.02...
<p>What does "X" stand for in "XARMAX"? I searched online but couldn't find it.</p> <p>Is there "XARMA"?</p> <p>Thanks!</p>
g61568
[ 0.05466342344880104, -0.01892757974565029, -0.01169438287615776, -0.05254724994301796, 0.047218579798936844, -0.001044386881403625, -0.0902724638581276, 0.01706162840127945, 0.010125136002898216, -0.019231734797358513, -0.03627162426710129, 0.039743997156620026, -0.0002832442696671933, -0....
<p>I have a log of customer call data, and would like to know what kind of statistical test I could use to test for statistical significance. Customers call with a unique call reason, and fit into either one customer type, young customers or elderly customers.</p> <pre><code>Call Reason Young customers Elder...
g61569
[ -0.0019530956633388996, 0.04959587752819061, -0.0035236221738159657, -0.02871725521981716, 0.009221568703651428, -0.01003226637840271, 0.031613774597644806, -0.019314302131533623, 0.00124458281788975, -0.035475924611091614, -0.036291591823101044, -0.014058546163141727, 0.0437513068318367, ...
<p>Let $X$ be an integer-valued $rv$ with $\mathrm{pgf}$ $P(s)$ (probability generating functions) and suppose that $\mathrm{mgf}$ $M(s)$ (moment generating functions) exist for $s∈(-s_0,s_0),s_0&gt;0$. How can we proof that $M(s)$ and $P(s)$ are related??</p>
g61570
[ 0.0024167674127966166, -0.02053486928343773, -0.0051988945342600346, -0.02898699790239334, 0.007352549582719803, -0.009081531316041946, 0.007521446794271469, -0.010503538884222507, -0.026834208518266678, 0.0006893221870996058, -0.09578801691532135, 0.036924537271261215, 0.0018527009524405003...
<p>Just wondering what you call a regression undertaken with robust variance estimators for clustered data. </p> <p>Is it ok to say you have used OLS regression with robust variance estimators for clustered data, or is this fundamentally not the case (i.e. once you are using robust variance estimators for clustered da...
g61571
[ 0.03548993542790413, -0.07229423522949219, 0.010059571824967861, -0.017627110704779625, -0.0024992895778268576, -0.029179269447922707, -0.009722243994474411, 0.016888877376914024, 0.034690387547016144, -0.010539830662310123, 0.019705181941390038, -0.002957380609586835, 0.026064328849315643, ...
<p>I read at <a href="http://www.unesco.org/webworld/idams/advguide/Chapt5_2.htm" rel="nofollow">http://www.unesco.org/webworld/idams/advguide/Chapt5_2.htm</a> that this was the degrees of freedom I should use, but I don't understand why. My understanding was that t-tests generally had n-1 degrees of freedom.</p>
g929
[ -0.009517080150544643, 0.047786686569452286, -0.01646786741912365, -0.006754848640412092, 0.02561444230377674, 0.01727425679564476, 0.07562973350286484, -0.00191497674677521, 0.002666702726855874, -0.00044106828863732517, -0.02264089696109295, -0.0479128398001194, 0.01701248809695244, -0.0...
<p>Will software eventually make statisticians obsolete? What is done that can't be programmed into a computer?</p>
g61572
[ 0.014978761784732342, 0.03821166977286339, -0.027084454894065857, 0.0030455763917416334, -0.03768392279744148, 0.018014846369624138, 0.02045140415430069, 0.03166947141289711, -0.04462812468409538, -0.050443511456251144, -0.002660481259226799, 0.014689115807414055, 0.035890597850084305, -0....
<p>I've been working for almost a year on electricity load forecasting in collaboration with some climate scientists, using temperature data obtained from models. Instead of using directly temperature values, we use the 'anomaly' from the annual average (called 'climatology'). It seems, in climate sciences, that is goo...
g18200
[ 0.05173240602016449, -0.013399572111666203, 0.006820913404226303, -0.028768591582775116, -0.044132981449365616, 0.007375043351203203, 0.0074709272012114525, 0.02113249897956848, -0.05139041319489479, 0.07052477449178696, 0.04540030285716057, 0.0017764176009222865, 0.02355192042887211, 0.00...
<p>I am using the <code>homals</code>-package in R to optimally quantify my data that contains categorical (nominal and ordinal) as well as numerical variables. My goal is to quantify the categorical variables using optimal scaling. To achieve this, I use the rank constraint <code> rank = 1</code>, since this "reduces ...
g31601
[ -0.008362799882888794, -0.04470638558268547, -0.017180556431412697, -0.07738719135522842, 0.013372647576034069, -0.017382504418492317, -0.012585976161062717, 0.024891946464776993, -0.06065153703093529, 0.03645177558064461, 0.04912383481860161, 0.01277106162160635, -0.007621088996529579, 0....
<p>I'm looking for common standards (file formats) for how most statistics software packages import data. </p> <p>The reason is that I'm going to make an export function for a simulation software package.</p> <p>The data to be exported consists of time-series of (1 or more) values for all members of a population. The...
g624
[ 0.03296239674091339, 0.08198593556880951, 0.010869499295949936, -0.06433518975973129, -0.05271788686513901, -0.012921890243887901, -0.04012060910463333, -0.014224952086806297, -0.05030975863337517, 0.012073428370058537, -0.01535041444003582, -0.028783045709133148, 0.03553733974695206, -0.0...
<p>I am looking for a KNN imputation package. I have been looking at imputation package (<a href="http://cran.r-project.org/web/packages/imputation/imputation.pdf">http://cran.r-project.org/web/packages/imputation/imputation.pdf</a>) but for some reason the KNN impute function (even when following the example from the ...
g61573
[ 0.042071133852005005, -0.04846930876374245, -0.00012091462122043595, -0.04522779956459999, 0.005447158589959145, -0.016883010044693947, -0.035418860614299774, 0.03341272845864296, -0.02389301359653473, 0.019827572628855705, 0.018415670841932297, 0.009970935061573982, -0.030568161979317665, ...
<p>Here are some simulated data:</p> <pre><code> library(mvtnorm) I &lt;- 3 # positions (fixed factor) J &lt;- 4 # tubes (random factor) K &lt;- 4 # repeats n &lt;- I*J*K set.seed(123) tube &lt;- rep(1:J, each=I) position &lt;- rep(LETTERS[1:I], times=J) Mu_i &lt;- 3*(1:I) Mu_ij...
g18209
[ -0.03416780009865761, -0.09728999435901642, 0.006619186140596867, -0.05983137711882591, 0.004381687380373478, 0.03641203045845032, 0.07354838401079178, -0.0006605474627576768, -0.05998913571238518, -0.03424797207117081, 0.03485984727740288, 0.003859887830913067, 0.0016476706368848681, 0.00...
<p>I am undertaking a study which has the following aims:</p> <p>The main aim of the current study is to investigate the effects of food messages about the healthiness of foods on actual food intake. </p> <p>Additionally, a secondary aim is to discover the extent to which impulsivity/sensation seeking, taste prefere...
g61574
[ -0.030299672856926918, 0.027746686711907387, 0.017485493794083595, 0.009993874467909336, 0.022286709398031235, -0.07238958030939102, -0.01336045190691948, 0.019383348524570465, 0.04324670881032944, -0.03603924810886383, 0.04436017945408821, 0.0026384952943772078, -0.004770353902131319, 0.0...
<p>In my experiment in which participants make a yes-no decision, I use two measures of empathy because I predict these to be both of influence. The two questionnaire scales are weakly correlated but do not measure exactly the same. Can I include these two scales in my mixed model ANOVA or will they sort of average eac...
g61575
[ -0.0061222100630402565, -0.06219615787267685, -0.0005776393809355795, -0.06406207382678986, 0.03974979370832443, 0.03296084329485893, 0.009393799118697643, 0.015460132621228695, -0.017165347933769226, -0.001273644040338695, 0.027484452351927757, -0.006905221380293369, 0.012912622652947903, ...
<p>Does vector autoregression (<a href="http://en.wikipedia.org/wiki/Vector_autoregression" rel="nofollow">VAR</a>) model require data to be of normal distribution? What are the pitfalls if the residuals are not of normal distribution?</p>
g61576
[ 0.010187376290559769, -0.020017176866531372, -0.025595733895897865, -0.029567034915089607, -0.038791920989751816, -0.004092477727681398, 0.05810653790831566, -0.011547479778528214, -0.04265069589018822, -0.017202353104948997, -0.022874930873513222, 0.009038612246513367, 0.008958271704614162,...
<p>I am assessing a bunch of risk factors related to HIV infection by logistic regression. First I will conduct a couple of chi square tests or t-tests to see if each factor is associated with HIV infection or not.</p> <p>Then I will pick those factors with p value less than 0.1 out of the bivariate analysis above and...
g61577
[ 0.01967621222138405, -0.028963550925254822, 0.013884189538657665, -0.010411955416202545, 0.013612356968224049, -0.06528585404157639, 0.006365322042256594, -0.031379155814647675, 0.006967843044549227, -0.005021954420953989, 0.009451414458453655, 0.028740383684635162, -0.04190345108509064, 0...
<p>As I understand it, the definition of the hazard ratio is the ratio of two hazard rates. Often the exp(coef) from a Cox model is also used as an estimate of the hazard ratio. These methods give two different, although similar, results. Are there circumstances in which it's appropriate to use one method vs. the other...
g587
[ 0.05066918954253197, -0.015635529533028603, 0.013286576606333256, -0.0058067794889211655, 0.06256810575723648, -0.017440523952245712, -0.021734017878770828, 0.017896683886647224, 0.012354742735624313, 0.0013408255763351917, 0.018792765215039253, -0.009769640862941742, 0.0818546786904335, 0...
<p>I am wondering what is the best way to extract knowledge about periodic time series data?</p> <p>In my case, I am trying to analyse <a href="https://www2.ameren.com/RetailEnergy/rtpDownload.aspx" rel="nofollow">historical hourly electricity prices</a> to get information about its volatility, when the peaks occur, w...
g61578
[ 0.029109526425600052, 0.0039009132888168097, -0.010660327039659023, -0.008759872056543827, -0.01322266086935997, -0.0609249621629715, 0.02500610426068306, -0.014842000789940357, -0.04071430861949921, 0.03213287517428398, 0.052406251430511475, -0.029496369883418083, 0.02918313816189766, 0.0...
<p>I am trying to do nonlinear regression on a dataset obtained from full factorial design (2 and 3 levels) with the help of genetic programming. </p> <p>Is there something fundamentally wrong with trying to construct a nonlinear regression model with full-factorial design? My background is not in statistics, and I di...
g61579
[ 0.015164823271334171, -0.004050060175359249, 0.01537726167589426, 0.037647947669029236, 0.02184351161122322, -0.021417446434497833, 0.03517278656363487, 0.009854769334197044, -0.0722351148724556, -0.041201502084732056, 0.008940601721405983, -0.038639433681964874, 0.04473573714494705, 0.029...
<p>This is a follow up to <a href="http://stats.stackexchange.com/questions/55301/best-process-for-randomly-drawing-an-odd-and-an-even-number">my previous question</a>.</p> <p>Assume I want to randomly draw two numbers from the numbers 1 to 8, one even number and one odd number. I would create two urns, one with the e...
g61580
[ -0.03032735362648964, 0.02462327666580677, 0.019661452621221542, -0.053738512098789215, 0.019509892910718918, -0.006507187150418758, 0.007552852854132652, 0.011690116487443447, -0.008409036323428154, -0.06694366037845612, -0.020746540278196335, -0.011500558815896511, 0.04716234281659126, -...