question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>I am having a few problems with my analysis and hope that somebody can help me out. About my design: I have 120 respondents, who I showed each 7 facebook posts out of a pool of 16 (randomly assigned). Each facebook posts was "ranked" by them on 1 DV (shares) and 3 IV (entertainment, information and emotion).</p> <p...
g66776
[ -0.04125743359327316, -0.012983129359781742, -0.015943877398967743, -0.025309795513749123, 0.01188103947788477, -0.0020225299522280693, 0.05783509835600853, -0.008948234841227531, -0.030939912423491478, 0.020738793537020683, -0.016271820291876793, -0.006525460630655289, -0.043626900762319565...
<p>I realized that, never been observed words in training sets, decrease test probaility of documents being spam and not spam after i mentioned <a href="http://stats.stackexchange.com/questions/98986/naive-bayes-non-dictionary-term-in-test-document">here</a> and this <a href="http://stackoverflow.com/questions/8680243/...
g34481
[ -0.02347763255238533, 0.06077876314520836, 0.0184466689825058, -0.02971993014216423, 0.0362086184322834, -0.018192293122410774, -0.006918579805642366, 0.08089450001716614, 0.011996830813586712, -0.0011308816028758883, -0.006785348057746887, 0.03590144217014313, -0.009613270871341228, 0.020...
<p>Zuur 2013 Beginners Guide to GLM &amp; GLMM suggests validating a Poisson regression by plotting Pearsons residuals against fitted values. Zuur states we shouldn't see the residuals fanning out as fitted values increase, like attached (hand drawn) plot. </p> <p>But I thought a key characteristic of the Poisson dist...
g66777
[ 0.03386528044939041, -0.03397877886891365, -0.011740440502762794, -0.05373075604438782, -0.04005549103021622, 0.0010439620818942785, -0.017392801120877266, 0.02022540383040905, -0.059366438537836075, -0.044396594166755676, 0.0557502806186676, 0.0219727735966444, 0.0006289219600148499, -0.0...
<p>I have data on two groups...I have one independent variable (times 1, 2, and 3) and a dependent variable fitness score (which includes score of a person's heart rate in five stages of the test, minutes they achieved, distance they achieved and rated perceived exertion). </p> <p>I'm leaning toward one-way repeated m...
g66778
[ -0.06111275404691696, -0.012836155481636524, -0.010199611075222492, 0.0326954647898674, -0.030074167996644974, 0.026304641738533974, -0.02057081088423729, -0.040118105709552765, -0.028567176312208176, -0.01329613197594881, -0.024787062779068947, 0.009877585805952549, -0.09419825673103333, ...
<p>The Maximum Entropy Bootstrap (meboot) let's you create random realizations of time series. I have tried to make sense of the description of the algorithm in H. D. Vinod's paper <strong>'Maximum entropy ensembles for time series inference in economics'</strong> where it is divided into 7 steps.</p> <ol> <li>First t...
g66779
[ -0.03529543802142143, -0.009420779533684254, -0.007788288872689009, 0.001486923429183662, 0.002779922913759947, -0.0062521169893443584, -0.007976735010743141, 0.05867575481534004, -0.05180931091308594, 0.004418321419507265, -0.06051342934370041, -0.016316039487719536, 0.06473424285650253, ...
<p>I have this model, nonlinear in the parameters</p> <p>$ y = \beta_0^2 + \beta_0 \beta_1 x_i $</p> <p>exist a known estimation of parameters ? </p>
g66780
[ 0.014949108473956585, -0.021151935681700706, 0.008354916237294674, 0.038425710052251816, 0.046563513576984406, -0.0025279454421252012, -0.012484240345656872, 0.001680804998613894, -0.049168217927217484, 0.02903066948056221, -0.05489446967840195, 0.022248869761824608, -0.03136388957500458, ...
<p>I'm trying to fit a generalised pareto distribution to a simulated dataset using JAGS and runjags. When doing so, I get very strange density and mixing plots for the mu parameter. The sigma and xi parameters are estimated as expected. </p> <p><strong>How should I interpret these plots, and proceed to fix my model?<...
g66781
[ 0.020905762910842896, -0.0023417372722178698, -0.017146755009889603, -0.08165624737739563, -0.014973036013543606, -0.007435501553118229, 0.0047112624160945415, 0.021590160205960274, -0.055571988224983215, -0.0004318470600992441, 0.00708730099722743, -0.006596790160983801, 0.03917113319039345...
<p>From <a href="http://en.wikipedia.org/wiki/Mixed-design_analysis_of_variance" rel="nofollow">Wikipedia</a></p> <blockquote> <p>a <strong>mixed-design</strong> analysis of variance model (also known as a <strong>split-plot</strong> ANOVA) is used to test for differences between two or more independent groups whils...
g66782
[ -0.013052207417786121, -0.04044757038354874, -0.007225702982395887, -0.03412138298153877, 0.001964585855603218, 0.05809615179896355, 0.03916212171316147, 0.03979586064815521, 0.009830725379288197, -0.039228666573762894, -0.03215216472744942, -0.01919911801815033, -0.03066246025264263, 0.01...
<p>I don't have SPSS. But judging from the documentation you can find on the internet, SPSS "<a href="http://pic.dhe.ibm.com/infocenter/spssstat/v20r0m0/index.jsp?topic=/com.ibm.spss.statistics.help/alg_twostep.htm" rel="nofollow">Two-Step Clustering</a>" seems to be closely related to BIRCH clustering:</p> <blockquot...
g17214
[ 0.047776319086551666, 0.043898485600948334, 0.015527626499533653, 0.025124898180365562, 0.0009605913073755801, -0.03385276719927788, 0.010175180621445179, 0.055727269500494, -0.020541079342365265, -0.054164472967386246, -0.018771283328533173, -0.01041698269546032, 0.11252514272928238, -0.0...
<p>This is a general question on logistic regression result reporting for a publication.</p> <p>We have an example where two well correlated ($r=0.4, p=0.001$) blood parameters (<code>blood parameter1</code> and <code>blood parameter2</code>) are associated with blood pressure in mixed sample of men and women, however...
g66783
[ 0.05395946279168129, 0.02071618102490902, 0.01731525920331478, -0.03078337572515011, 0.02069379948079586, 0.00022711849305778742, 0.016682971268892288, -0.0325123630464077, -0.029897216707468033, 0.024954453110694885, 0.043239492923021317, 0.008626344613730907, 0.016266077756881714, 0.0518...
<p>I'm kind of new doing data mining, so sorry if my question is not very clear. </p> <p>I'm working in a project that is aiming to do data mining over the interactions of the students with a e-learning platform. So, I'm trying to generate decision trees with some data that I collected (number of times that student us...
g37478
[ -0.001857575960457325, -0.00626059714704752, 0.002484183292835951, -0.02098805457353592, 0.029823070392012596, -0.008525441400706768, 0.005342401564121246, 0.015533209778368473, -0.029668299481272697, 0.011973004788160324, -0.009468077681958675, 0.007772017735987902, 0.032557811588048935, ...
<p>I am trying to simulate a signal produced from a GMM of 3 mixtures. Here's MATLAB code</p> <pre><code>mix1 = -0.4 + 0.01*randn(10000,1); mix2 = -5 + 0.02*randn(10000,1); mix3 = 10 + 0.1*randn(10000,1); gmm = mix1 + mix2 + mix3; [f,x] = ksdensity(gmm); plot(x,f) </code></pre> <p>I expected to see 3 mixtures (i.e...
g4998
[ -0.042786069214344025, -0.005077312234789133, -0.003927441313862801, -0.015103179961442947, 0.01751107908785343, 0.02549753151834011, -0.00563226081430912, 0.02543417178094387, -0.028064103797078133, -0.028157351538538933, 0.014769659377634525, 0.046205438673496246, 0.0473320409655571, 0.0...
<p>Sometimes they ask questions in different orders, or use different prompts.</p> <p>Or datasets with instruments (with at least one variable randomized)?</p> <p>I would like to use at least one of them for my causal modelling course (Stat 566), whose syllabus is at <a href="https://www.stat.washington.edu/tsr/s566/...
g25971
[ -0.002461712108924985, -0.05150846019387245, -0.02067650482058525, -0.04819701611995697, 0.018147235736250877, -0.05548478662967682, 0.026466308161616325, 0.005056858994066715, -0.001900804229080677, -0.030960876494646072, 0.1074565201997757, -0.00011913895286852494, 0.042290668934583664, ...
<p>I saw a journal article [1] saying that he constructed the following S-curve model :</p> <p>$$y=\exp\left({\beta_1 + \frac{\beta_2}{x}}\right) + \mathrm{residual}$$</p> <p>The topic was about a global regression model.</p> <p><strong>I just cant understand how did he make it. Do you guys know how?</strong></p> <...
g66784
[ 0.04464646428823471, -0.052054114639759064, -0.03769899532198906, -0.03854123502969742, 0.03936244174838066, 0.07667119055986404, 0.03159079700708389, 0.022447800263762474, -0.018146121874451637, -0.03908535838127136, -0.06321174651384354, 0.036625079810619354, 0.09095809608697891, 0.00974...
<p>I am using R software (R commander) to cluster my data. I have a smaller subset of my data containing 200 rows and about 800 columns. I am getting the following error when trying kmeans cluster and plot on a graph:</p> <blockquote> <p>'princomp' can only be used with more units than variables</p> </blockquote> <...
g25973
[ -0.006109852809458971, 0.04109523445367813, -0.03634202852845192, -0.015881866216659546, 0.013557156547904015, -0.04509035497903824, -0.01266240980476141, -0.006624600850045681, -0.022831104695796967, -0.009295267052948475, 0.003433288773521781, 0.054714832454919815, 0.033918507397174835, ...
<p>I have 100,000 students who have each answered some multiple choice questions. Given their performance I want to work out what the chances are of a particular student answering the next question correctly. </p> <ul> <li>not each student has answered every question</li> <li>the probability of getting a question corr...
g66785
[ -0.00911477580666542, -0.06519392877817154, 0.006928911432623863, -0.02972370758652687, -0.01629500277340412, 0.02116960659623146, 0.0537065751850605, 0.09642750769853592, -0.03855850175023079, 0.015163568779826164, 0.006363780237734318, 0.02563677728176117, 0.03808078169822693, 0.04127780...
<p>I am working with a time series data and found that $a_t$ Granger causes $b_{t+1}$ and $b_t$ granger causes $a_{t+1}$. The results were obtained through Stata. </p> <ol> <li><p>With the coefficients obtained, is it possible to determine which Granger causal direction is stronger? If it can't be determined by just l...
g25975
[ 0.07107263058423996, -0.04962566867470741, -0.0025159127544611692, -0.056021809577941895, 0.03870192542672157, -0.05595709756016731, 0.08173409849405289, 0.046156544238328934, -0.029043026268482208, -0.012942230328917503, 0.020833248272538185, 0.05855975300073624, 0.06092386320233345, 0.01...
<p>PnL can take large negative values, and its variance increases over time as the firm grows. If we do differencing, an increasing variance remains. If we take log, negative values cannot be defined. How do you stationarize this type of data for time series analysis? Please assume that we cannot decompose PnL into und...
g66786
[ 0.016391359269618988, 0.024221163243055344, -0.01754973642528057, -0.034762028604745865, -0.022716255858540535, -0.009790254756808281, 0.029822036623954773, -0.019903112202882767, -0.05883730575442314, -0.049389250576496124, -0.030888188630342484, -0.006528579164296389, 0.027738939970731735,...
<p>The histogram of my dependent variable is as following:</p> <p><img src="http://i.stack.imgur.com/H6XlW.jpg" alt="enter image description here"></p> <p>I draw the scatter plot of my dependent variable and independent variable, and the result is as following picture? I am wondering if the skewness of the dependent ...
g29456
[ -0.01906106248497963, 0.004280203953385353, -0.008185086771845818, -0.05244479700922966, -0.06361508369445801, 0.024217097088694572, -0.04350370168685913, 0.009935768321156502, -0.02203521504998207, -0.026276960968971252, 0.032067518681287766, 0.03903237357735634, 0.0011272586416453123, -0...
<p>I'm wondering how to calculate the C-Index for determining a 'good' number of groups in a cluster analysis in Stata? It's mentioned in this post (<a href="http://stats.stackexchange.com/questions/52838/what-is-an-acceptable-value-of-the-calinski-harabasz-ch-criterion/52863#52863">What is an acceptable value of the C...
g35545
[ -0.025981906801462173, -0.01114833913743496, 0.00575619749724865, -0.03840756416320801, 0.004858869593590498, -0.026139387860894203, 0.05667213350534439, 0.03113548643887043, -0.05192332714796066, -0.00772168068215251, -0.008371441625058651, 0.041216183453798294, 0.07689135521650314, -0.01...
<p>English is not my first language. Here are my questions.</p> <p>I am using proportions ((0.1, 0.25, 0.25, 0.4) to generate 4 classes of data (1 variable 4 levels) in SAS based on the code below,</p> <hr> <pre><code>data NativeBMI (drop = i) ; array prob [4] (0.1,0.25,0.25,0.4); call streami...
g66787
[ -0.0052788532339036465, -0.04192367568612099, 0.0019646401051431894, -0.0430804118514061, -0.028701825067400932, 0.005652484018355608, 0.012756336480379105, -0.029444938525557518, -0.07458901405334473, -0.03095976635813713, 0.013474028557538986, 0.03563772514462471, 0.028465382754802704, 0...
<p>I am applying a Bayesian classifier and would like to find out the f1 score. I determined the TP, TN, FP, TP. Unfortunately I had to find out that in my cross-validation almost in all test scenarios only TP and FP are non-zero (so TN=0, FN=0). Probably this is due to the fact that the ratio of the amount of data of ...
g66788
[ -0.011033505201339722, -0.0065628476440906525, 0.017513157799839973, -0.05758064612746239, 0.04107099771499634, -0.05091444030404091, 0.020694302394986153, 0.03673943877220154, -0.03617866709828377, 0.01354838628321886, 0.009949459694325924, 0.010451342910528183, 0.040391236543655396, -0.0...
<p>I'm working with model 2 of INLA's <a href="http://www.r-inla.org/examples/case-studies/martino-and-rue-2010/code-for-the-zambia-example" rel="nofollow">Zambia example</a> in R:</p> <pre><code>formula.mod2 = hazstd ~ f(agc, model = "rw2") + f(district, model="besag", graph = g, param = c(1,0.01)) + f(distr.unst...
g25987
[ -0.012138952501118183, -0.056200914084911346, -0.021335994824767113, -0.05616958811879158, -0.009342747740447521, 0.004583079367876053, 0.054876331239938736, -0.0118569890037179, -0.08060991019010544, -0.027836130931973457, -0.015431556850671768, -0.0035799427423626184, 0.08164980262517929, ...
<p>I am working with a large scale deterministic model, which attempts to simulate CO2 emissions in different regions. When compared to historic data, the model output suffers from systematic biases. Here are plots for two regions (model output in blue, historic data in red) :</p> <p><img src="http://imgur.com/McCB6i...
g66789
[ 0.00003333338463562541, -0.08156371861696243, -0.00048621013411320746, -0.028655678033828735, -0.016263101249933243, 0.006095450837165117, 0.0419255830347538, 0.022253720089793205, -0.058191005140542984, 0.06895028054714203, 0.024129342287778854, 0.08420727401971817, 0.09717211872339249, 0...
<p>My plain regression looks as follows:</p> <p>tendaystockreturn = alpha + beta * dummy variable that takes a value of 1 in case a director purchases shares</p> <p>Now I want to test whether a subgroup of directors will have a higher beta. In other words, I want to know whether the beta of a subgroup differs from th...
g25988
[ 0.021448850631713867, -0.04393161088228226, -0.004297333769500256, -0.014563173986971378, 0.031284477561712265, -0.03671828284859657, 0.0198363084346056, 0.006833230145275593, -0.0028083689976483583, -0.03835944086313248, 0.043116625398397446, 0.055118851363658905, -0.03171004354953766, 0....
<p>In chapter 2 ESL book authors write: Let's look at example of linear model in a classification context<img src="http://i.stack.imgur.com/ANaTc.png" alt="enter image description here"> </p> <p>They fit a simple linear model $g = 0.3290614 -0.0226360\cdot x_1 + 0.2495983 \cdot x_2 + e$, </p> <p>where $g$ is given ...
g66790
[ 0.020985491573810577, -0.03470277041196823, -0.007391821593046188, -0.0002513541257940233, 0.07599411904811859, -0.022501474246382713, 0.06268719583749771, 0.025520799681544304, -0.07014793902635574, -0.011003722436726093, -0.07355355471372604, 0.0062239873223006725, 0.09733343124389648, -...
<p>Im analyzing time-series to detect when the y-value is so flat that one can assume there is an underlying factor limiting y from being higher. Is there a methodology or statistical discipline that do this kind of analyis automatically? Im after a name I can put in Google that points me to books, articles etc.</p> <...
g66791
[ 0.02680233307182789, 0.02082153595983982, 0.003435176331549883, -0.05806982144713402, -0.004238523077219725, -0.0213316660374403, 0.05070218816399574, -0.04877345636487007, -0.0483541339635849, -0.018998874351382256, 0.03137056902050972, 0.0581122525036335, 0.10591696947813034, 0.030863609...
<p>So if you have $N \sim \mathrm{Poisson}(\lambda)$ or $N \sim \mathrm{Binomial}(n,p)$ I'm curious about the convolution $$X = \sum_{i=1}^N X_i$$ (where $X_i \sim \mathrm{Normal}(\mu, \sigma)$ and $X=0$ if $N=0$) I guess alternatively this is the compound distribution $$\mathrm{Normal}(N\cdot\mu, \sqrt{N}\cdot\sigma)$...
g66792
[ -0.0061867730692029, 0.05701812729239464, -0.01680225320160389, -0.007498736493289471, -0.0292796827852726, -0.06211443990468979, 0.04232421889901161, -0.017132790759205818, -0.0054786535911262035, -0.03869684413075447, -0.0856194794178009, -0.003760894061997533, -0.003743008943274617, -0....
<p>I am trying to create a decision-tree out of a number of attributes, where there are only two final classes and the classes are highly unbalanced (Class 1: 95.5%; Class 2: 4.5%).</p> <p>The idea is to profile the members of Class 2. For example, Class 2 members have attribute 1 >= 8, attribute 2 &lt; 6, attribute 3...
g66793
[ 0.009635410271584988, -0.005583088379353285, -0.006369121838361025, -0.03167937323451042, 0.041006144136190414, -0.10264855623245239, 0.02126842364668846, 0.03155270218849182, -0.025938795879483223, 0.02815101481974125, -0.017128724604845047, 0.0351991206407547, 0.05573436990380287, 0.0113...
<p>Could someone point me to a good resource for estimating power for detecting treatment heterogeneity via interactions in MR? </p> <p>Let's assume that individuals will be randomized to two study arms. To estimate heterogeneity (moderation), we would regress the continuous outcome on an indicator of assignment to tr...
g66794
[ 0.009078197181224823, -0.0323965810239315, -0.009608525782823563, -0.04409129172563553, -0.0110885389149189, -0.05310140922665596, 0.0074392021633684635, 0.015076891519129276, -0.021014347672462463, 0.0333666056394577, 0.060214102268218994, 0.02298647165298462, -0.03366229683160782, 0.0252...
<p>I would be grateful for general guidance/advice about data analysis with some data that is problematic for me because of the small sample size, and the large number of categorical data. I realize this question is a bit vague, but that's because I'm not sure what to do. I'd like to come up with some good descripive c...
g25999
[ -0.02519443817436695, 0.01597319357097149, -0.00975849013775587, -0.045784249901771545, -0.05659031495451927, -0.03655900061130524, 0.023667577654123306, 0.009158222004771233, -0.02113207057118416, -0.013714410364627838, 0.00280163181014359, -0.020560966804623604, 0.04740910232067108, 0.02...
<p>Think you can help with this. I´ve run a set of candidate hurdle models on insect abundance data with pscl package for R. These models had an abundance part with a truncated negative binomial distribution; and an ocurrence part with binomial distribution. I wish to calculate the model parameter estimates and its CI...
g66795
[ 0.0003345447184983641, -0.04617679491639137, 0.011629362590610981, -0.003931014332920313, 0.03396786376833916, -0.03756719455122948, 0.016069628298282623, -0.01686163619160652, -0.07774128764867783, 0.03743208572268486, -0.04899906739592552, 0.02130541019141674, 0.01732501946389675, 0.0371...
<p>I have a theoretical growth function that can be perturbed by events, and I'd like to estimate the growth parameters as well as the perturbation, and the rate of falloff after that perturbation.</p> <p>I'm thinking of using a logistic function to model the effect of the event and the falloff of that effect (if any)...
g29458
[ 0.06229953467845917, -0.009796705096960068, 0.007024862803518772, -0.010889553464949131, 0.017706774175167084, -0.02701776847243309, 0.03629651665687561, 0.005052981898188591, -0.06266509741544724, -0.05121544748544693, -0.04243328794836998, 0.007293857634067535, 0.01911722868680954, 0.076...
<p>If I want to conduct a randomised study in 2 sites comparing two clinical treatment arms, and every site is expected to include 60-80 patients, is it acceptable to randomise every new patient with simple coin toss (one centralised scheme for all patients, regardless of site) or is some stratified randomisation more ...
g23428
[ -0.006391562987118959, 0.014275498688220978, -0.024576587602496147, -0.07848308235406876, 0.02805926837027073, -0.0035379999317228794, -0.013092094101011753, 0.03142184391617775, 0.01038532704114914, -0.020989004522562027, 0.07328047603368759, 0.027527395635843277, 0.043964482843875885, -0...
<p>I have the following problem and I know I can solve it using PCA / SVD, I just can get to write it properly. </p> <p>I have many sensors, each produces M = 3500 samples of a signal.<br> The signal of each sensor is a little different from the other. I have N = 256 Sensors.</p> <p>Now, I want to build a dictionary...
g66796
[ -0.03300486132502556, -0.026531580835580826, -0.010346785187721252, -0.029081424698233604, 0.018933521583676338, -0.09650610387325287, -0.02697777934372425, 0.018645940348505974, -0.007804180961102247, -0.04408988729119301, -0.07948211580514908, 0.02021545171737671, 0.04817058518528938, 0....
<p>How do I calculate the uncertainties in linearly interpolated values from a given tabulated function? </p> <hr> <p>I am just coming back into the fold after a bit of a hiatus, and am having trouble jumpstarting my brain.</p> <p>I have a tabulated function $(x_i, y_i, e_i)$, where $x_i$ is on an irregular grid a...
g66797
[ 0.03114556148648262, -0.03246167302131653, 0.02196778729557991, -0.08031921088695526, 0.007791740354150534, -0.04977857694029808, 0.0813785195350647, -0.0005523458821699023, -0.07944993674755096, -0.04584271088242531, -0.02089034393429756, 0.020095665007829666, 0.023830680176615715, -0.068...
<p>and apologies if this is an overly simple question. I am doing an A/B mailing (where we send out two different solicitation letters). It's going out to past donors so we have some information on them and I have a master list of about 18,000 eligible donors. The point is to see which letter produces more and/or grea...
g66798
[ -0.013845323584973812, 0.004309988114982843, -0.0012493618996813893, -0.09094930440187454, 0.004368026275187731, -0.010612462647259235, 0.014749603345990181, 0.051705747842788696, -0.004559072200208902, 0.014050031080842018, 0.042678434401750565, 0.0000280852345895255, 0.053814537823200226, ...
<p>I am running a multiple linear regression using SPSS to test the effect of ethnicity and ethnic/racial attitudes or perceptions on political predispositions. </p> <p>One model, as an example, looks like this:</p> <p>DV: 'support for democracy' (1-7 scale) Controls: age, gender, education etc. Predictors: Ethnicity...
g26005
[ 0.03529709205031395, -0.04223937168717384, 0.00961244571954012, -0.0207725390791893, 0.05799073353409767, 0.019124379381537437, 0.008704600855708122, 0.025406917557120323, 0.03050174005329609, 0.019359298050403595, 0.005243147723376751, -0.019704023376107216, -0.01751137338578701, 0.082426...
<p>I want to calculate the area under the first derivate. Can I do that with splinefun()?</p> <pre><code>Year &lt;- c(1959, 1960, 1961, 1962, 1963, 1964, 1965, 1966, 1967, 1968, 1969) Population &lt;- c(4835, 4970, 5085, 5160, 5310, 5260, 5235, 5255, 5235, 5210, 5175) sample &lt;- data.frame(Year, Population) sample p...
g26006
[ 0.03716012462973595, 0.013146726414561272, 0.006522330455482006, -0.06894820928573608, -0.06710197776556015, -0.05015576258301735, 0.05134820193052292, 0.04694459214806557, -0.050507307052612305, -0.05119427666068077, -0.015310567803680897, 0.035889241844415665, 0.04745315760374069, -0.006...
<p>What would you use to categorise or rank a Resume/CV with machine learning?</p> <p>I would like to make particular CVs stand out to recruiters.</p>
g66799
[ 0.013297450728714466, -0.06944329291582108, -0.004997707437723875, -0.054523490369319916, -0.006565975956618786, -0.010206217877566814, -0.001765978755429387, 0.024489296600222588, -0.024651987478137016, 0.045561667531728745, 0.0503494068980217, 0.055544983595609665, 0.08121570944786072, -...
<p>let $X,Y$ are two independent random variables Bernoulli with probability $P$. how can calculate $E(X^Y|X+Y=1)$</p>
g26008
[ -0.0029884607065469027, 0.01079169474542141, -0.0020998057443648577, 0.020288357511162758, 0.026127509772777557, -0.014038617722690105, -0.02091408707201481, 0.027960175648331642, 0.005380906164646149, 0.026240823790431023, -0.024018628522753716, 0.05898154154419899, 0.018533173948526382, ...
<p>I have been reading about the <strong>Supervised</strong> and <strong>Unsupervised learning</strong>. What I came to know through <a href="http://stats.stackexchange.com/questions/517/unsupervised-supervised-and-semi-supervised-learning">this link</a> is that in case of Supervised learning you have a set of input an...
g66800
[ -0.06155892834067345, 0.0007420366164296865, 0.008104934357106686, 0.011093107983469963, 0.03344340994954109, 0.008794410154223442, 0.012906260788440704, 0.029298529028892517, -0.0022428124211728573, -0.04641740769147873, -0.02916022017598152, 0.00416094996035099, 0.0550897978246212, 0.017...
<p>I am using a data set with <strong>18 features</strong> with True/False output (Related to mobile ad targeting). True values occurs only <strong>0.4 %</strong> of the time. So, I have used sampling to keep the ratio of True and False classes nearly 1:1. I have used logistic regression using python's scikit learn. Ho...
g26009
[ -0.04726504534482956, -0.04090863838791847, 0.011058548465371132, -0.016015177592635155, 0.045495714992284775, -0.007010131608694792, -0.019144047051668167, 0.033357884734869, -0.006999288219958544, -0.018427465111017227, 0.009228821843862534, 0.0170174241065979, 0.05212141573429108, 0.047...
<p>I have a series of physicians' claims submissions. I would like to perform cluster analysis as an exploratory tool to find patterns in how physicians bill based on things like Revenue Codes, Procedure Codes, etc. The data are all polytomous, and from my basic understanding, a latent class algorithm is appropriate fo...
g66801
[ -0.0025396663695573807, -0.01332976296544075, -0.013692718930542469, -0.05512779578566551, 0.02703310362994671, -0.06531599909067154, 0.040402308106422424, 0.02565157786011696, -0.02214861288666725, -0.02640235424041748, -0.03920964151620865, 0.028162656351923943, 0.08760461956262589, 0.02...
<p>I am analyzing data from two surveys that I merged together:</p> <ul> <li><p>School staff survey, for years 2005-06 and 2007-08</p></li> <li><p>School students survey, for years 2005-06 through 2008-09</p></li> </ul> <p>For both of these data sets, I have observations (at the student or staff level) from 3 differe...
g5115
[ 0.004044047556817532, -0.032626911997795105, -0.000027751337256631814, -0.0647595226764679, -0.014419816434383392, 0.0185554139316082, 0.02680467814207077, 0.0005887171137146652, 0.006379707716405392, -0.035360414534807205, 0.0784512311220169, -0.038772497326135635, 0.043685171753168106, 0...
<p>I attempted to run lasso on a 12 X 52 matrix (11 predictors) using this MATLAB function <a href="http://www.mathworks.com.au/help/stats/lasso.html" rel="nofollow">http://www.mathworks.com.au/help/stats/lasso.html</a>. I found that the results converged to zero.</p> <p>How should I interpret this?</p> <p>In the int...
g66802
[ 0.06131001561880112, -0.0064619844779372215, 0.0003415695973671973, -0.031626008450984955, 0.03689843788743019, -0.01751774363219738, 0.04019257798790932, 0.012771084904670715, -0.025924358516931534, -0.06013607233762741, -0.015970325097441673, 0.0021582189947366714, 0.06498228013515472, 0...
<p>I have a little problem that is making me freaking out. I have to write procedure for an online acquisition process of a multivariate time series. At every time interval (for example 1 second), I get a new sample, which is basically a floating point vector of size N. The operation I need to do is a little bit tricky...
g66803
[ 0.00914997048676014, -0.025923455134034157, 0.00015050604997668415, -0.027291737496852875, -0.08240822702646255, -0.014784042723476887, 0.0333569198846817, 0.020326897501945496, -0.07271115481853485, 0.010180171579122543, 0.008092527277767658, 0.05095576122403145, 0.026837700977921486, -0....
<p>I must clarify immediately that I am a practicing software developer, not a statistician, and that my college stats class was a <em>very</em> long time ago…</p> <p>That said, I would like to know if there is a method for accumulating a set of descriptive statistics that could then be used to produce a boxplot, that...
g26013
[ -0.0049902754835784435, 0.057822272181510925, -0.012599097564816475, -0.07957911491394043, -0.05688008666038513, -0.0902673751115799, -0.00929942261427641, -0.04416830837726593, -0.03206072375178337, -0.04168955609202385, 0.02158103697001934, -0.02604871615767479, 0.06780008226633072, 0.03...
<blockquote> <p>The one used by option "ward.D" (equivalent to the only Ward option "ward" in R versions &lt;= 3.0.3) does not implement Ward's (1963) clustering criterion, whereas option "ward.D2" implements that criterion (Murtagh and Legendre 2013).</p> </blockquote> <p>(<a href="http://stat.ethz.ch/R-manua...
g66804
[ 0.027202369645237923, -0.026210861280560493, -0.0032523407135158777, -0.07625067234039307, 0.003881751326844096, -0.004329058341681957, 0.030994804576039314, -0.009321299381554127, -0.01512226928025484, -0.05266571789979935, 0.03798376023769379, 0.010685832239687443, 0.09078744053840637, 0...
<p>It seems that for calculation of Cohen's $d$ (an estimate of effect size), you should use the difference in means (or in one-sample case, from baseline), divided by $SD$, if that information is available: $$ \frac{\bar X_1 - \bar X_2}{SD} $$ However, when you only have the $t$-statistic and the degrees of freedom ($...
g26017
[ -0.008666959591209888, 0.01681545004248619, -0.02815896086394787, -0.061514098197221756, -0.00512721249833703, -0.0357598140835762, 0.054394207894802094, 0.00866900384426117, -0.03778006508946419, -0.034511350095272064, -0.024152139201760292, 0.036584340035915375, 0.04632723331451416, 0.00...
<p>An interesting property of Gaussian Processes is estimating the uncertainty range. This uncertainty range of prediction can potentially capture the actual measurements.</p> <p>I am wondering, how many times or with what probability this uncertainty range is able to capture the measurement and why ?</p>
g46432
[ -0.01612231694161892, 0.030790189281105995, -0.015380318276584148, 0.03127848729491234, 0.029194170609116554, 0.0175875686109066, -0.0079767145216465, 0.028355827555060387, -0.017437104135751724, -0.030071888118982315, -0.05005653202533722, 0.030235731974244118, 0.022150995209813118, -0.00...
<p>This may seem a trivial question but I have a fundamental problem in understanding learning. </p> <ol> <li><p>In supervised learning, given and input-output pair, what are we learning? Are we learning the inputs (say features) or the output? For example, In terms of linear system, let a system be y=Ax ; y is the ou...
g66805
[ 0.0017480095848441124, 0.020530473440885544, 0.0063950917683541775, -0.029812734574079514, 0.017909744754433632, -0.04129250720143318, 0.012921418063342571, -0.0064989360980689526, -0.02914881706237793, -0.050001226365566254, -0.019849203526973724, 0.02999061718583107, 0.06980515271425247, ...
<p>My histogram of expected income is as below.</p> <p>As you can see, income is highly right skewed. I want to divide individuals with regard to income - for example into Low, Middle, and High, and then I want to compare the other properties of individuals in each of the three groups. </p> <p>Any idea about dividing...
g66806
[ -0.03693172708153725, 0.013845161534845829, -0.024620575830340385, -0.03339768573641777, 0.00952762272208929, -0.009611274115741253, -0.03229590505361557, 0.04562656208872795, -0.0277399905025959, -0.0010889754630625248, 0.025589903816580772, 0.003973500337451696, 0.0002870186872314662, -0...
<p>Assume I have this kind of data:</p> <p>$ A_{11}\quad A_{21} \\ A_{12}\quad A_{22} \\ A_{13}\quad A_{23} \\ B_{11}\quad B_{21} \\ B_{12}\quad B_{22} \\ B_{13}\quad B_{23} \\ C_{11}\quad C_{21} \\ C_{12}\quad C_{22} \\ C_{13}\quad C_{22} \\ ...\quad ... \\ $</p> <p>where $A$, $B$, $C$, ... represent different indiv...
g26019
[ 0.03424212336540222, -0.017085466533899307, -0.01389468926936388, -0.020440272986888885, 0.002716770861297846, -0.05460679903626442, 0.027683712542057037, -0.002033800585195422, -0.020511532202363014, -0.013461095280945301, 0.00542567390948534, 0.05218927562236786, -0.011548046953976154, -...
<p>(Apologies for the poor title, I didn't know what what to type in)</p> <p>I am having a problem with the second part of this question (an example question from a past stochastic course I took):</p> <hr> <blockquote> <p>Consider the simple linear birth and death process and the partial differential equation</p>...
g66807
[ 0.049585871398448944, -0.039329905062913895, 0.0016439574537798762, 0.00643182685598731, 0.006185103673487902, -0.02020031027495861, 0.044378675520420074, 0.014518278650939465, -0.057570841163396835, 0.004116900730878115, -0.055769480764865875, 0.02153007872402668, 0.06281787902116776, 0.0...
<p>My current research deals with landslide size frequency distribution which has been fit to a three-parameter inverse gamma function and a double Pareto function by previous researchers. I am trained as a civil engineer and can't make sense of how to build a program to fit my data in Fortran, MATLAB or R because I'm ...
g66808
[ 0.058896321803331375, -0.015362497419118881, -0.0021289829164743423, -0.06601175665855408, 0.022189531475305557, 0.012993783690035343, 0.02021098881959915, 0.005261099897325039, -0.0660778284072876, 0.010487335734069347, -0.028600990772247314, -0.012328182347118855, 0.041946254670619965, -...
<p>I want to do a survey to determine how satisfied the (16) employees are with the company training program. The survey has 30 questions, each using a 5 point Likert scale for responses. The questions are divided into different groups (9 for the utility of the program, 6 regarding the trainer, 7 regarding the balance ...
g66809
[ -0.043673060834407806, 0.01796790398657322, 0.007598412688821554, -0.042261235415935516, 0.0039754994213581085, 0.002876493614166975, -0.012509092688560486, -0.031779415905475616, 0.02716122940182686, -0.006628354080021381, 0.05620969831943512, 0.0019431704422459006, 0.01100564282387495, -...
<p>If I know only that the arrival process is Poisson, and I observe it for a pre-chosen (say, unit) period of time, observing $k$ arrivals, is it meaningful to describe an estimate of its time parameter from the observation as (A) maximum-likelihood, (B) minimum-variance, or (C) unbiased if $k$ is very small? If $k$ i...
g66810
[ -0.027205664664506912, 0.031080642715096474, -0.008557364344596863, -0.020802799612283707, -0.02759474143385887, -0.016768185421824455, 0.013995982706546783, -0.0016956698382273316, -0.03671184182167053, 0.01409243792295456, -0.02191941998898983, 0.004398937802761793, 0.02218543365597725, ...
<p>I would like to create a temporal model showing the likelihood (I am sure this is not used in the correct context) that certain size avocados grow from smallest, small, bigger, biggest. I have considered using a linear regression, but it should be simplified, such that the parameters are entered and an output is cr...
g66811
[ 0.05438196659088135, 0.05630018934607506, -0.0001574474445078522, -0.048727888613939285, -0.05021725222468376, -0.05612201243638992, 0.029315190389752388, -0.038258813321590424, -0.054506659507751465, 0.0033610903192311525, -0.003124032635241747, 0.0060558924451470375, 0.09147021919488907, ...
<p>I have designed a questionnaire to test which of three motivational constructs can best be used to describe learners motivation. 25 statements were designed to test the three constructs (each question relating to one of the three), they were randomly ordered and participants were asked to respond to each statement ...
g66812
[ -0.024691354483366013, 0.01126557681709528, -0.006770998239517212, -0.048044756054878235, 0.02778133936226368, 0.0115168122574687, 0.02922663651406765, 0.004426450934261084, -0.011384805664420128, 0.0106333764269948, 0.0012382665881887078, -0.041507307440042496, 0.034482840448617935, 0.047...
<p>My problem with understanding this expression might come from the fact that English is not my first language, but I don't understand why it's used in this way.</p> <p>The marginal mean is typically the mean of a group or subgroup's measures of a variable in an experiment, but why not just use the word mean? What's ...
g26025
[ -0.014341315254569054, 0.01875976473093033, 0.0054400162771344185, -0.07755698263645172, 0.03092079795897007, 0.005518695339560509, 0.007993830367922783, 0.08617379516363144, -0.006416487041860819, -0.07004410773515701, 0.03959263861179352, 0.03676605969667435, -0.027431199327111244, 0.038...
<p>I am trying to implement logistic regression using the following algorithm:</p> <ol> <li>fit a simple linear model $y \sim Xb_0$</li> <li>calculate $W = \frac{e^{Xb_0}}{(1+e^{Xb_0})^2}$</li> <li>calculate $z = Xb_0 + y \cdot \frac{(1+e^{Xb_0})^2}{e^{Xb_0}} - (1+e^{Xb_0})$ (the square and dot product means element-w...
g66813
[ 0.00015629295376129448, -0.05155631899833679, 0.007805619388818741, 0.010927489027380943, 0.03868595510721207, -0.06974124908447266, 0.04729899391531944, 0.009345955215394497, -0.0767388790845871, -0.010923506692051888, -0.022727373987436295, 0.0547933354973793, 0.07399826496839523, 0.0512...
<p>I know the rank of $\Sigma^{-1}m m'$ is $1$. How can I find the eigenvalue and eigenvector of it? ($\Sigma^{-1}$ is the inverse of a covariance matrix and $m$ is a mean vector.)</p>
g26029
[ -0.020902590826153755, -0.044307008385658264, -0.031346119940280914, -0.034320928156375885, 0.0447923019528389, -0.002605029148980975, 0.047663845121860504, 0.017723102122545242, -0.02681705914437771, 0.0363922193646431, -0.001721060718409717, 0.04890156164765358, 0.018315501511096954, 0.0...
<p>The question is in the title.</p> <p>The coefficient of determination or </p> <p>$ R^2 \equiv 1 - \frac{ss_{res}}{ss_{tot}} $</p> <p>is valid in a nonlinear model? Why? </p>
g11202
[ 0.011471091769635677, -0.0028639386873692274, 0.0074079749174416065, 0.05116979405283928, 0.0945855900645256, -0.006816855166107416, 0.06328519433736801, 0.020692842081189156, -0.05305960401892662, 0.0043243118561804295, -0.05214616656303406, 0.01733282580971718, 0.03992505371570587, 0.016...
<p>I'm working with the really nice <code>rugarch</code>-package and currently have an issue with respect to the news impact curves (NIC).</p> <p>In an attempt to plot several NIC into the same plot I realized that while the NIC for the sGARCH, the gjrGARCH and the eGARCH are given with respect to the $\epsilon_{t-1}$...
g66814
[ 0.012415825389325619, -0.028337769210338593, -0.00469294935464859, -0.05366512015461922, 0.0335223488509655, -0.016785532236099243, 0.052881401032209396, -0.018420998007059097, -0.0502290278673172, 0.07009929418563843, 0.0003366443270351738, 0.00972431804984808, 0.03899907320737839, 0.0234...
<p>Suppose we have a bivariate normal variable $\mathbf{x}= (x_1, x_2)$ with mean $\mu_1$ and $\mu_2$ and variances $\sigma_1^2$ and $\sigma_2^2$ and correlation $\rho$. I need to obtain the pdf of the transformation $||\mathbf{x}||^{-1} \mathbf{x}$: the coordinates of a variable in the unit circle.</p> <p>In directio...
g66815
[ 0.02070525661110878, 0.0076491800136864185, -0.008899242617189884, -0.07754342257976532, -0.006428019143640995, 0.005330407992005348, 0.048787765204906464, 0.0021717504132539034, -0.01221650280058384, 0.02885199524462223, 0.051000408828258514, 0.028808997943997383, -0.03644552454352379, -0...
<p>The application is that I want to know how $X$ maps not only to $y$, but to the variance of $y$. I think I've worked out a reasonable solution for doing so using the gamma distribution and the inverse square link, but I've got a couple of questions. The setup is as follows: $$ y = f(X) + \epsilon\\ \epsilon = \phi...
g26032
[ -0.02728600800037384, -0.04748949781060219, -0.014274019747972488, -0.06445186585187912, 0.00837263185530901, 0.0022557538468390703, -0.011403942480683327, -0.014210325665771961, -0.0444626547396183, 0.020156074315309525, 0.0016807998763397336, 0.08325252681970596, 0.01394494716078043, -0....
<p>I have 100,000 observations (9 dummy indicator variables) with 1000 positives. Logistic Regression should work fine in this case but the cutoff probability puzzles me. </p> <p>In common literature, we choose 50% cutoff to predict 1s and 0s. I cannot do this as my model gives a maximum value of ~1%. So a thresho...
g66816
[ -0.01816635951399803, -0.008035657927393913, 0.01892019808292389, 0.002031987998634577, 0.005930155515670776, -0.04257333278656006, 0.025602130219340324, 0.0324803851544857, 0.02531660534441471, -0.021485859528183937, 0.05392223596572876, 0.016921373084187508, 0.06832385808229446, 0.003172...
<p>Calculate the expected return, variance and standard deviation for the following portfolio of four stocks </p> <p>Stock1 16.4% return</p> <p>Stock2 -9.2% return</p> <p>Stock3 7.9%return</p> <p>Stock4 22.0% return </p>
g26033
[ -0.012418994680047035, -0.022492147982120514, -0.0036622199695557356, 0.015450411476194859, -0.010200167074799538, 0.009727801196277142, 0.027314407750964165, 0.008693428710103035, -0.00036853403435088694, -0.04523734748363495, 0.013189055025577545, -0.042972300201654434, -0.0307632088661193...
<p>Let's assume there is a time series Y of length n with Y(1) being the most recent observation.</p> <p>In MA process we plot auto-correlation function (ACF) to see how many lags to use. If we look at MA(3) process for example that implies the correlation between: </p> <pre><code>Y(1:n-1) and Y(2:n) Y(1:n-2) and Y(3...
g66817
[ 0.036196254193782806, 0.0018217441393062472, -0.0019755936227738857, -0.0450790673494339, 0.038577526807785034, -0.023620175197720528, 0.09738665819168091, 0.02258182503283024, -0.037228699773550034, -0.007115250453352928, 0.03253081813454628, 0.06047675758600235, 0.07125724107027054, 0.02...
<p>I'm getting confused about what I read about covariance. I know how to calculate covariance between two different variables, but not between two observations of the same variable. Imagine you have many observations of a variable $X$. What does this mean and how to calculate it? </p> <p>$$ {\rm Cov}[x_i,x_j] $$</p>...
g5376
[ 0.06135481223464012, -0.04154647886753082, 0.0014797976473346353, -0.027316054329276085, 0.028515979647636414, 0.01691623590886593, -0.003470870666205883, 0.06141957268118858, -0.04415074735879898, -0.006562560796737671, -0.030468259006738663, 0.012917613610625267, -0.025088461115956306, -...
<p>I have a dataset of 130k internet users characterized by 4 variables describing users' number of sessions, locations visited, avg data download and session time aggregated from four months of activity.</p> <p>Dataset is very heavy-tailed. For example third of users logged only once during four months, whereas six u...
g66818
[ -0.015919703990221024, 0.01235731691122055, -0.03279669210314751, -0.08139562606811523, -0.014084006659686565, -0.07168793678283691, 0.04199621081352234, 0.001613115193322301, 0.00795320887118578, 0.0234224870800972, 0.012788521125912666, 0.03983936086297035, 0.04585515335202217, -0.026094...
<p>How would you explain data visualization and why it is important to a layman?</p>
g46451
[ 0.03511805459856987, 0.12418726831674576, -0.020806942135095596, -0.017634322866797447, 0.0006714522605761886, 0.027629779651761055, 0.015596968121826649, 0.028513478115200996, -0.00714372843503952, -0.09965827316045761, -0.0030002116691321135, -0.02534063532948494, 0.11264221370220184, 0....
<p>What algorithms are used in modern and good-quality random number generators? </p>
g46453
[ -0.004861108493059874, -0.0018343523843213916, -0.013755765743553638, -0.03937302157282829, -0.06371521204710007, -0.022859690710902214, 0.011393290013074875, 0.0379771962761879, -0.022494295611977577, -0.03299979120492935, 0.0070208231918513775, -0.06262455880641937, 0.05381874740123749, ...
<p>I have 2 classification methods that I want to compare. So I ran them on the same dataset and I obtained 2 different classifications.</p> <p>Then, I want to test if their classification is robust and how. Supposing each classification gives $n$ classes, for each method (classification):</p> <ul> <li><p>I created $...
g4086
[ 0.038857899606227875, -0.04775223508477211, -0.012328648939728737, -0.02392708882689476, 0.042709361761808395, -0.047722045332193375, 0.024295220151543617, 0.007643464021384716, -0.03253764659166336, -0.029444294050335884, 0.003215598640963435, 0.05445679649710655, 0.036543119698762894, 0....
<p>here are distributions of four samples:<img src="http://i.stack.imgur.com/LE7jO.jpg" alt=""></p> <p>and the following is the table of data:</p> <p><img src="http://i.stack.imgur.com/aG1Th.jpg" alt="enter image description here"></p> <p>I would like to test: (1) if the difference between means of "Give" and "Work-...
g26041
[ -0.050946157425642014, 0.03327089175581932, -0.03170314058661461, -0.06724786758422852, 0.006907975766807795, -0.023898182436823845, -0.010136918164789677, -0.018772998824715614, -0.034312691539525986, 0.02459186501801014, -0.030861934646964073, 0.000002036592832155293, 0.029493942856788635,...
<p>A couple of years ago I learned about recent work in <a href="http://arxiv.org/abs/1210.7477" rel="nofollow">parallelizing slice sampling methods</a>. More recently, I have read great things about <a href="http://arxiv.org/abs/1111.4246" rel="nofollow">NUTS</a> and <a href="http://en.wikipedia.org/wiki/Hybrid_Monte_...
g26042
[ 0.042956966906785965, 0.020385373383760452, 0.007595475297421217, -0.04351841285824776, 0.00026691018138080835, -0.08853694051504135, -0.014092501252889633, 0.02720555290579796, -0.011616203002631664, -0.00356361479498446, 0.0362396314740181, -0.004720157012343407, 0.056331004947423935, 0....
<p>I'm using a multinomial logistic regression analysis to examine deer behavioural responses to camera traps in terms of 7 predictors (both singly and their interactions). </p> <p>I have found that the model with the lowest AIC value is season and vegetation (AIC = 1005.023). However, the AIC value for season as pred...
g49759
[ 0.0006722904508933425, -0.05068064481019974, 0.0024559327866882086, 0.03969276696443558, 0.027302755042910576, -0.07342316955327988, 0.042536843568086624, -0.025293784216046333, 0.01939595304429531, 0.021029513329267502, -0.00481887673959136, 0.020313803106546402, 0.12215505540370941, 0.05...
<p>I've been redirected here from another forum... </p> <p>I have used a two sample Kolmogorov-Smirnov test to compare the distributions of two sets of data. Basically I am comparing the error distributions between two measurements when an intervention is made, to determine whether the intervention (a changing measure...
g66819
[ 0.017089616507291794, -0.029375091195106506, -0.0059670391492545605, 0.018446527421474457, -0.029785513877868652, 0.01959167793393135, 0.03586312755942345, 0.03220713138580322, 0.0002490310580469668, -0.018915658816695213, 0.03584634140133858, -0.016960252076387405, -0.0022807507775723934, ...
<p>I ran an ordinal logistic regression in R using the polr function on a survey analysis dataset. The responses of the dependent variable range from Poor to Excellent. The responses to the independent variables range from 1 to 5 (1 being Poor and 5 being Excellent). I obtained the following result:</p> <p><img src="h...
g26044
[ -0.03496694192290306, -0.05466562509536743, -0.005165346432477236, -0.0539010614156723, 0.007024151273071766, -0.01924089901149273, -0.036353304982185364, 0.00037931796396151185, -0.012187003158032894, -0.03582043573260307, -0.004807332530617714, 0.01044415682554245, -0.013475471176207066, ...
<p>I am looking for a library routine that will calculate the lag 1 autocorrelation of a time series with a rolling window; meaning "slide a window of size N points along the time series, calculate the lag 1 autocorrelation for each window."</p> <p>I have implemented an algorithm inspired by <a href="http://en.wikiped...
g66820
[ 0.028643542900681496, -0.03809432312846184, -0.01034266222268343, -0.04703659564256668, -0.05554031953215599, -0.0586845800280571, 0.09481736272573471, 0.033038876950740814, -0.05019918456673622, 0.009596483781933784, 0.00900708045810461, 0.05074939504265785, 0.013986819423735142, 0.056688...
<p>The data contains two groups and the intended comparison will be completed via independent t-test. Options that I have considered is using the entire sample's mean or one of the group means. However, I am concerned about inflating the differences between the groups. Which method is most ideal and why?</p>
g66821
[ -0.007613691501319408, -0.01951349712908268, -0.002378404140472412, 0.008358937688171864, -0.025549519807100296, -0.022657550871372223, -0.014915337786078453, -0.03628062829375267, -0.054593391716480255, 0.006014855112880468, 0.07719343155622482, -0.005939139053225517, -0.010237867012619972,...
<p>I am currently reading the recent papers mainly written by Y. Bengio<a href="http://scholar.google.de/scholar?as_ylo=2012&amp;q=y%20bengio&amp;hl=en&amp;as_sdt=0,5" rel="nofollow"> [1]</a>,<a href="http://www.iro.umontreal.ca/~lisa/bib/pub_subject/language/pointeurs/bengio+lecun-chapter2007.pdf" rel="nofollow">[2]</...
g66822
[ 0.017131350934505463, -0.017049212008714676, 0.022481869906187057, -0.04277825355529785, -0.009632265195250511, -0.03291413187980652, 0.009109816513955593, 0.0016416504513472319, -0.030048154294490814, 0.003434135112911463, 0.010211972519755363, 0.04288934916257858, 0.07427249103784561, 0....
<p>In Shane's answer to <a href="http://stats.stackexchange.com/questions/942/application-of-wavelets-to-time-series-based-anomaly-detection-algorithms">this question</a> he suggests that Hidden Markov Models can be used more successfully than wavelets for anomaly / change detection (it was a bit unclear -the topic he ...
g46455
[ 0.008082779124379158, -0.05155569687485695, 0.0348147414624691, 0.05116013437509537, 0.020095419138669968, -0.052426453679800034, -0.0006302910041995347, 0.07558900862932205, 0.002971706911921501, -0.020930420607328415, -0.020403236150741577, 0.03132040426135063, 0.07870286703109741, 0.038...
<p>Can somebody please explain how to train a neural network in batch mode. I have a single target time series of length $N$ for a given input time series of the same length. In order to apply Hopfield network's content addressable property, I want to store this pattern of input time series. Then given a test time seri...
g15930
[ -0.05516501143574715, 0.006644849665462971, 0.017131777480244637, 0.0372188463807106, -0.006380823440849781, -0.013428744859993458, 0.040643077343702316, 0.0889197587966919, -0.05255643650889397, -0.02247609943151474, -0.060968976467847824, 0.0016134007601067424, 0.05029661953449249, 0.051...
<p>I have a large panel-like data set: about 15,000 individuals, on average 350 time points, two dozen variables (plus some more variables we left out for context-specific reasons). What I want to achieve is a model explaining one dependent variable $y$ by (some of) the other (i.e. explanatory) variables $x$. As a firs...
g66823
[ 0.03018255904316902, -0.026265496388077736, -0.017566924914717674, -0.07020370662212372, -0.004311374854296446, -0.025730492547154427, 0.045033954083919525, -0.01682857796549797, 0.009872758761048317, -0.025702953338623047, 0.021185195073485374, 0.028974786400794983, 0.014306358993053436, ...
<p>Is there any tool that can calculate the AUC value from a ROC curve if I already have true positive, true negative, false positive, false negative values. </p>
g49311
[ 0.07137185335159302, -0.011275160126388073, 0.011016752570867538, -0.02806960977613926, 0.03261467441916466, -0.04519212618470192, 0.007478496991097927, -0.03858474642038345, -0.03028460033237934, -0.019278107210993767, -0.01275723148137331, 0.023717906326055527, 0.06270761042833328, -0.00...
<p>I have no idea how to do the following analysis for an experiment.</p> <p>For my independent variables I have two continuous between-subject variables (personality traits scores), one categorical between-subject variable (gender), and one categorical within-subject variable (nature of the stimulus). My dependent va...
g66824
[ 0.004146132152527571, -0.05730847269296646, 0.008017165586352348, -0.044750772416591644, -0.03010045737028122, 0.009933103807270527, 0.01702398993074894, -0.0017534976359456778, -0.05633491650223732, -0.03719630464911461, 0.019138377159833908, 0.002259590895846486, -0.032968148589134216, 0...
<p>I have a survey on pricing. There are questions where there is an A and B choice where the proportions are not independent (mutually exclusive group). Here I can use a binomial distribution in Excel and can assume a probability of 50%. This will tell me with 95% confidence interval if the % selecting A is higher and...
g66825
[ -0.01309356838464737, 0.013849667273461819, 0.009144836105406284, 0.04979509487748146, 0.0076733841560781, -0.044642914086580276, -0.004865300375968218, 0.011214490979909897, 0.004302661400288343, 0.0028560280334204435, 0.031951677054166794, 0.01232587918639183, 0.038117460906505585, -0.01...
<p>We had students take a test with 20 questions and had them indicate their confidence levels for each question. In one test format, the confidence prompt was adjacent to their test question while in the alternate format, their responses to the test question and confidence had to be indicated on a separate form. The...
g66826
[ 0.006146963220089674, -0.08224654197692871, 0.001994412625208497, -0.035823725163936615, 0.028743546456098557, 0.04634997621178627, -0.011241210624575615, -0.016527283936738968, 0.01099302526563406, -0.010962704196572304, 0.02447042427957058, -0.005834326148033142, 0.060593679547309875, 0....
<p>I am trying to standardize dataset columns for linear regression. </p> <p>One of the columns have standard deviation = 0. </p> <pre><code>def standardize(X): return (X - mean(X)) / std(X) </code></pre> <p>So this code doesn't work. </p> <p>Are there any tricks to solve this problem? I have tried two things<...
g26052
[ 0.04076782613992691, 0.0038826907984912395, -0.0029980798717588186, -0.0918724462389946, 0.07128783315420151, -0.0075685312040150166, -0.030843479558825493, 0.053528472781181335, -0.06773430854082108, -0.049695130437612534, 0.014494940638542175, 0.023242371156811714, 0.014403925277292728, ...
<p>I have daily sales data from 2011 to 2013. I have to do prediction for 2014.I have used arima and exponential method to predict the daily sale, but it is not giving the better result. MAPE is around 25%. </p> <p><code>y=ts(x,frequency=7)</code></p> <p><code>fit &lt;- auto.arima(y)</code></p> <p><code>fc &lt;- for...
g17898
[ -0.040819089859724045, -0.040600161999464035, 0.009292514063417912, -0.03770623356103897, -0.031814899295568466, -0.013079827651381493, 0.07087282091379166, 0.000313558557536453, -0.02826698310673237, 0.020069342106580734, 0.12310878932476044, 0.011130833066999912, 0.13915826380252838, -0....
<p>I have the vague recollection of a result that states something along the lines of </p> <blockquote> <p>Joint parameter estimates always lead to smaller variance than independent parameter estimates even when the parameters are uncorrelated.</p> </blockquote> <p>Does this ring a bell for anyone? What is the ...
g66827
[ 0.04331399127840996, 0.015317676588892937, -0.0005269738612696528, 0.005076328758150339, 0.032278724014759064, -0.0071023451164364815, 0.024512339383363724, -0.015082312747836113, -0.02154647558927536, -0.004444076679646969, -0.02836870215833187, 0.05373377352952957, -0.0090992646291852, 0...
<p>I'm analyzing data from an unbalanced factorial experiment both with <code>SAS</code> and <code>R</code>. Both <code>SAS</code> and <code>R</code> provide similar Type I sum of squares but their Type III sum of squares are different from each other. Below are <code>SAS</code> and <code>R</code> codes and outputs. </...
g26055
[ 0.02950255386531353, -0.040983084589242935, 0.009343733079731464, -0.058633916079998016, 0.036270976066589355, -0.029812922701239586, 0.03652038797736168, -0.03716884180903435, 0.026633191853761673, -0.02738052047789097, -0.0015024141175672412, 0.047056928277015686, 0.01051931083202362, -0...
<p>I want to see if it is possible to analyse openly available images (from google, flickr, etc.), and conclude something from them (the same way one might do this from census data but with images as data).</p> <p>In my opinion online sources offer a wealth of data, and can easily be grouped by subject (for example: b...
g66828
[ -0.04053748771548271, 0.04243302717804909, -0.0030252092983573675, -0.04912906885147095, -0.0561414435505867, -0.04422470182180405, -0.002634999807924032, 0.004229535814374685, -0.011959756724536419, 0.00939064472913742, 0.07805495709180832, -0.032866086810827255, 0.09970313310623169, 0.04...
<p>Is it possible to specify a variance matrix for the random effects in PROC MIXED with the only restriction that the diagonal entries are equal ? I took a look in the help and I have not found, but this seems strange because such a variance structure is rather natural in some applications. </p> <p>(EDIT) Consider fo...
g26059
[ -0.05030826851725578, -0.012995797209441662, -0.011406753212213516, -0.05399755761027336, 0.02437235601246357, 0.007134395185858011, 0.052487753331661224, -0.05568243935704231, -0.015435518696904182, -0.07553865760564804, 0.025657614693045616, 0.04554373770952225, 0.005933260545134544, -0....
<p>This is, I hope, quite a simple question. Being new to the concepts and methods of Multiple Testing, I've been histogramming some of the p-values I've been computing in my genomics research. What I have been seeing is that the distribution of p-values seems to be depleted at low values. Of course, this is horrid ...
g17428
[ 0.039350513368844986, 0.03951788693666458, -0.033375583589076996, -0.06948237121105194, 0.014653302729129791, -0.005309257190674543, -0.013279767706990242, 0.04372300207614899, -0.04096067696809769, -0.06937456876039505, -0.02229694463312626, -0.018916333094239235, 0.04684863239526749, 0.0...
<p>I am using Multiple Imputation to impute a continuous variable (<code>X</code>). I have a question regarding the generation of a new variable, starting from this imputed variable (what, in Stata jargon, would be called a <em>passive variable</em>). </p> <p>In particular, my aim is to divide this variable <code>X</c...
g66829
[ 0.04294465109705925, -0.06848989427089691, -0.012212123721837997, -0.09369534254074097, 0.0027725284453481436, 0.022712379693984985, -0.011956807225942612, 0.022584965452551842, -0.023196035996079445, 0.03275857865810394, -0.023950250819325447, -0.0012516999850049615, -0.029912376776337624, ...
<p>I have run a Poisson glm and I want to test for multicollinearity in my data. I have used the vif in R and obtained the following result. How can I interpret this?</p> <pre><code> GVIF Df GVIF^(1/(2*Df)) make 1.083927 1 1.041118 cc 1.093900 1 1.045897 area 1.113460 3 1.018073 ins...
g66830
[ 0.02884548157453537, -0.032059445977211, -0.008361833170056343, -0.05010754615068436, 0.03138623386621475, -0.04520335793495178, 0.005941689480096102, -0.0030532856471836567, -0.0335216224193573, -0.049686405807733536, -0.05375014245510101, -0.010269364342093468, 0.012360829859972, 0.00119...
<p>Suppose I have a set of (discrete) variables, say $X_1,\dots,X_n$. Each $i$ belongs to either class A or class B. When it belongs to A the contribution is $Y_{A,i}f(X_i)$, and when it belongs to B the contribution is $Y_{B,i}g(X_i)$, so that the final outcome is $Z=\sum_{i=1}^N Y_{A,i}f(X_i) I_{\{i \in A\}} + Y_{B,i...
g66831
[ 0.010053903795778751, -0.0717315524816513, -0.01831263303756714, -0.031098732724785805, 0.05581806227564812, -0.07548720389604568, 0.06680819392204285, -0.025600844994187355, 0.006381351500749588, -0.01158369891345501, -0.07467497885227203, 0.08541825413703918, 0.006549052894115448, 0.0513...