question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>I'm new to CV, so please excuse any faux pas. I've collected sample data from a population and would like to discern whether or not the experimental group outperforms the control group. Let's say I have 10,000 observations within the experimental group and saw 4500 successes. Let's also say that I observed a 47% suc...
g58985
[ -0.0022838986478745937, -0.005470020230859518, 0.0019476646557450294, -0.029740722849965096, 0.02355618216097355, -0.010628224350512028, 0.05213554948568344, 0.013650588691234589, -0.0071686189621686935, -0.018531719222664833, 0.05514958128333092, 0.06155151501297951, 0.002513391897082329, ...
<p>So, I have numbers that I know are going to be between 1.01 and 1000. Each value corresponds to 1 second. Is this is a time-series?</p> <p>I've been searching all over, but I can't figure out if these values represent an exponential curve, a linear curve (I think not), or something else. And witch forecasting model...
g58986
[ 0.04796794429421425, -0.026227187365293503, -0.010152658447623253, -0.04051459953188896, 0.02124408818781376, -0.10088519006967545, 0.04027463123202324, -0.09965945035219193, -0.06540252268314362, -0.025357685983181, -0.02665429562330246, 0.055983010679483414, 0.031211553141474724, 0.03526...
<p>After fitting Logistic/Linear regression model, we get estimates of parameters showing importance of attribute in predicting dependent variable and can be considered as weight of that independent variable.</p> <p>My question is how to calculate relative importance of attributes in linear and logistic regression. Ti...
g58987
[ -0.04302572086453438, -0.04745187982916832, 0.009138534776866436, -0.03577573969960213, -0.0045550852082669735, -0.02733842469751835, 0.009287133812904358, 0.044494591653347015, -0.02767081744968891, 0.03681042790412903, -0.05523933842778206, 0.0542418472468853, 0.07875508069992065, 0.0033...
<p>I used GAP statistic to estimate k clusters in R. However I'm not sure if I interpret it well. <img src="http://i.stack.imgur.com/jTY0S.png" alt="enter image description here"></p> <p>From the plot above I assume that I should use 3 clusters.</p> <p><img src="http://i.stack.imgur.com/HTia8.png" alt="enter image de...
g58988
[ 0.004497785121202469, -0.0064955358393490314, -0.008358326740562916, -0.013399150222539902, -0.02783949486911297, 0.007650835905224085, 0.007580720353871584, 0.040293704718351364, -0.005211392417550087, -0.0009262198582291603, 0.06048286333680153, -0.0006028884090483189, 0.022873807698488235...
<p>I have some time series data and want to test for the existence of and estimate the parameters of a linear trend in a dependent variable w.r.t. time, i.e. time is my independent variable. The time points cannot be considered IID under the null of no trend. Specifically, the error terms for points sampled near each...
g14344
[ 0.015907125547528267, -0.06559361517429352, 0.0022596661001443863, -0.031657539308071136, -0.03698844835162163, 0.0254011582583189, -0.00551818311214447, -0.03715088963508606, -0.03555355221033096, 0.004395703785121441, 0.010209768079221249, 0.022857559844851494, 0.005108081270009279, 0.03...
<p>When trying to find the mode of a nonnegative function $f$ (i.e. maximize the function), one way to do it is to sampling the function viewed as an unnormalized density of some distribution via MCMC.</p> <p>Suppose we have had a sufficiently long sequence of samples via this method, I was wondering how to determine ...
g14345
[ -0.019664261490106583, -0.044730812311172485, 0.02016536518931389, -0.04972058907151222, -0.015258373692631721, -0.058033537119627, -0.01476906705647707, -0.0070305876433849335, -0.059464141726493835, -0.03865524381399155, -0.04685501381754875, -0.03212663158774376, 0.08350003510713577, 0....
<p>I have an experiment with any possible (reasonable) number of parameters (independent variables). I run the experiment several times for each possible combination of my variables. The data I get will be generally numeric. </p> <p>However I know nothing (and any assumptions are difficult) about the distribution of m...
g14346
[ 0.034980397671461105, -0.0011951449560001493, -0.012407262809574604, -0.004034140612930059, 0.021866215392947197, -0.0068631586618721485, 0.017530791461467743, 0.05465051159262657, -0.010551519691944122, -0.04390914365649223, -0.02094336599111557, 0.04738175496459007, -0.03361775353550911, ...
<p>I'm a programmer without statistical background, and I'm currently looking at different classification methods for a large number of different documents that I want to classify into pre-defined categories. I've been reading about kNN, SVM and NN. However, I have some trouble getting started. What resources do you re...
g58989
[ 0.04767058789730072, 0.04925797879695892, 0.004619171377271414, 0.009724532254040241, -0.05297884717583656, -0.04946074262261391, -0.0070213498547673225, 0.0009120417525991797, -0.04525301232933998, -0.018516549840569496, -0.006319212261587381, -0.005305776838213205, 0.10198970884084702, 0...
<p>Which is the best introductory textbook for Bayesian statistics?</p> <p>One book per answer, please.</p>
g49573
[ 0.06548745185136795, 0.02543030120432377, 0.019560929387807846, -0.020914515480399132, 0.02557196095585823, 0.03265842795372009, 0.016711503267288208, -0.0239538736641407, -0.012019376270473003, 0.015765544027090073, 0.040775712579488754, -0.020815692842006683, 0.036944497376680374, -0.000...
<p>In Plain English, how does one interpret a Bland-Altman plot? </p> <p>What are the advantages of using a Bland-Altman plot over other methods of comparing two different measurement methods?</p>
g37609
[ 0.0077369799837470055, -0.005508982110768557, 0.011176804080605507, -0.08667000383138657, 0.01146308146417141, -0.004872348625212908, 0.03813997656106949, -0.04947630688548088, -0.01815892942249775, -0.0002814393665175885, 0.05588608235120773, 0.03372777998447418, 0.03868374228477478, 0.03...
<p>I have 80 2D data points (located <a href="http://pastebin.com/UyhsUkUj" rel="nofollow">here</a>) and am trying to estimate the pdf at a point $x$ by using a multivariate kernel density estimate.</p> <p>The mean vector is $\mu = [0.0368418, 0.0157501]$ and standard deviation (in each direction ) is $\sigma_i = [0.0...
g49345
[ 0.012233461253345013, -0.01632334105670452, -0.011550826020538807, -0.051325682550668716, -0.004209273960441351, -0.03580598905682564, 0.01611868292093277, -0.017880579456686974, -0.024183612316846848, 0.017092935740947723, 0.05363348871469498, 0.011520936153829098, 0.01034573558717966, 0....
<p>I am checking the accuracy of one device that finds the heart rate against the other device that gives correct measurements. Specifically, I have performed an experiment on a group of people. I used both device 1 and device 2 simultaneously on the each person and collected 7 values. Having 10 participants, I have ...
g58990
[ 0.06194816529750824, -0.010572982020676136, 0.008187241852283478, 0.022016309201717377, 0.029243312776088715, -0.019675957038998604, 0.025919940322637558, -0.002887252951040864, -0.025447342544794083, -0.014903046190738678, 0.0486769936978817, 0.01992672123014927, -0.01674272119998932, -0....
<p>I have a dataset consisting 5000 sentences. I need to calculate PMI between 3-gram and 5-grams in this dataset.</p> <p>For example:</p> <blockquote> <p>The 5-gram is: $x_1$$x_2$$x_3$$x_4$$x_5$</p> <p>And the 3-gram is: $x_2$$x_3$$x_4$</p> </blockquote> <p>How can I calculate PMI($x_2$$x_3$$x_4$, $x_1$$x_2$...
g58991
[ 0.000927362241782248, 0.04056023806333542, -0.018292756751179695, -0.022972440347075462, -0.021288471296429634, -0.08085619658231735, 0.014784454368054867, 0.03058929368853569, -0.10056223720312119, 0.036552369594573975, -0.028285056352615356, 0.029357794672250748, -0.018791191279888153, 0...
<p>I apply Fisher's exact test on very very small sample size. Each location in the table would have about 1 or 2 samples. The fisher's method has no room to enumerate the the tables, and returns me a very bad result. So is there any other improved exact test for very tiny sample size data?</p>
g14357
[ -0.0025875973515212536, 0.008988435380160809, 0.03657421097159386, -0.040804099291563034, -0.030511310324072838, -0.04691344127058983, -0.011864752508699894, 0.04092760384082794, -0.05791546031832695, 0.008952786214649677, 0.0031736325472593307, 0.02834872528910637, 0.01676681637763977, 0....
<p>I’ve recently read the article "<a href="http://goldberg.berkeley.edu/pubs/acc-2012-visual-tracking-final.pdf" rel="nofollow">Visual Tracking of Human Visitors under Variable-Lighting Conditions for a Responsive Audio Art Installation</a>," A. Godbehere, A. Matsukawa, K. Goldberg, American Control Conference, Montre...
g14359
[ 0.012240978889167309, 0.008412610739469528, -0.00800289586186409, -0.043693430721759796, -0.0173709187656641, -0.05226293206214905, 0.10153242200613022, 0.027484264224767685, -0.04716724902391434, 0.02188606932759285, -0.060578763484954834, 0.05176747590303421, 0.011610524728894234, 0.0564...
<p>I'm trying to do a problem in JMP, but I'm new to the program and don't understand it completely. I think I'm close, but need to be pointed in the right direction. Here is the problem:</p> <blockquote> <p>A standard test for extrasensory perception (ESP) asks subjects to identify which of four shapes (circle, s...
g58992
[ 0.0532388910651207, 0.02540648728609085, 0.011745231226086617, -0.03692071512341499, -0.013986095786094666, -0.058353789150714874, 0.030342355370521545, 0.007844388484954834, -0.013115892186760902, -0.01558854803442955, -0.004491459112614393, 0.03761817887425423, 0.034012358635663986, 0.02...
<p>According to this paper (<a href="http://www.cs.toronto.edu/~hinton/absps/netflix.pdf" rel="nofollow">pdf</a>), the energy function of the restricted Boltzmann machine (RBM) is defined as: </p> <p><img src="http://s24.postimg.org/54331he3p/2014_02_05_01_18_29.png" alt="RBM Energy Function"></p> <p>and the paper sh...
g58993
[ 0.022381223738193512, 0.01741975173354149, 0.0014376918552443385, 0.025452323257923126, 0.020473064854741096, 0.007608868181705475, -0.01675652526319027, 0.0408504381775856, -0.04381076991558075, -0.07489649206399918, 0.013980338349938393, 0.052438873797655106, 0.03618394955992699, 0.01309...
<p>I am looking for a R code of discrete Markov chains. I have done the following:</p> <pre><code>set.seed(123) p_11 &lt;- 0.0468 #transition probability p_12 &lt;- 1 - p_11 #transition probability p_21 &lt;- 0.3232 #transition probability p_22 &lt;- 1- p_21 #transition probability num_s...
g58994
[ 0.003535902826115489, 0.005412354599684477, -0.0007141123642213643, -0.01574813760817051, -0.004357463214546442, -0.061824433505535126, 0.0309975016862154, 0.03821345046162605, -0.02727903611958027, -0.0191239882260561, -0.006063470151275396, 0.05862031877040863, 0.03791498392820358, -0.00...
<p>I'm not sure how to correctly calculate the <strong>standard deviation</strong> of recall, precision, accuracy and F-score.</p> <p>For example:</p> <pre><code>TP FP FN TN total recall precision F-Score accuracy 40 10 15 50 115 0.727 0.800 0.762 0.783...
g58995
[ 0.006240390241146088, -0.01682659238576889, 0.0005248987581580877, 0.012938989326357841, 0.009495699778199196, -0.02258496917784214, 0.04503794386982918, 0.03759855404496193, -0.009766863659024239, -0.0508003756403923, -0.037364814430475235, -0.017345987260341644, 0.03359761834144592, -0.0...
<p>My data is structured like so:</p> <p>'data.frame': 50 obs. of 3 variables:</p> <ul> <li>Project : Factor w/ 2 levels "A","B": 1 1 1 1 1 </li> <li>x: int 2 2 2 2 6 4 4 4 6 4 ... </li> <li>y: num 0.622 0.425 0.363 0.344 0.346 ...</li> </ul> <p>I have 'attached' the data and plotted both levels in my scatte...
g58996
[ 0.023002225905656815, -0.031365763396024704, -0.018270589411258698, -0.0707172229886055, -0.017834462225437164, -0.017472006380558014, -0.02319953963160515, 0.0010775973787531257, -0.05963500961661339, -0.047701891511678696, 0.02780715934932232, 0.004539869260042906, 0.04516962915658951, -...
<p>I am still confused about Hypothesis testing. How does one set up the null hypothesis $H_0$ and the alternative hypothesis $H_a$? I have read a post here that doesn't give it much credit, as far as I can tell. (One must use both $H_0$ and $H_a$ for the AP Statistics exam.) </p> <p>I have read that $H_a$ is to b...
g49724
[ 0.011169054545462132, -0.033054057508707047, -0.006612641271203756, -0.03776025027036667, 0.04386032000184059, -0.03100692108273506, 0.015064073726534843, 0.023402830585837364, 0.01656179316341877, -0.06343337893486023, 0.03799114376306534, 0.05422741547226906, 0.02833435870707035, 0.03896...
<p>I got a set of data sets as reference data, each comprised of 14 non-independent variables that is to be used as a basis for developing a method to compute data of that kind with fewer computational resources. So basically a set of points in 14-dimensional space.</p> <p>What I need to do is parametrize my new metho...
g58997
[ 0.019660763442516327, -0.024300094693899155, -0.013335714116692543, -0.09482452273368835, -0.04395965859293938, -0.04636185243725777, 0.012908771634101868, -0.009088088758289814, -0.0649452954530716, -0.0186596792191267, 0.01968785934150219, -0.010530185885727406, -0.009774596430361271, 0....
<p>If I have a dataset with $n$ observations and $p$ variables (dimensions), and generally $n$ is small (n=12-16), and $p$ may range from small (p = 4-10) or perhaps much larger (p= 30-50). I remember learning in MVA that $n &gt;&gt; p$, but it seems like this may not be so. Note that for my purposes I am rarely inte...
g58998
[ 0.016516655683517456, 0.0013182919938117266, -0.017993519082665443, -0.05939482897520065, -0.054592110216617584, -0.056001242250204086, 0.03767791762948036, 0.0026572851929813623, -0.08622237294912338, -0.04179917648434639, 0.0529664009809494, 0.04961558058857918, 0.011609711684286594, 0.0...
<p>I have obtained my results from a path analysis (using MPlus) and I´m not sure how go about writing a results section in APA style. The model is showing a nice fit to the data, my hypotheses are supported, and I have a clear idea of what my result mean, but I just don´t know WHAT statistics are conventionally report...
g58999
[ -0.0014447447611019015, -0.03266045078635216, 0.018185380846261978, -0.03504239395260811, -0.017617905512452126, -0.023818092420697212, 0.009349104948341846, 0.011560522019863129, -0.010773085057735443, -0.02700144611299038, 0.05396552011370659, -0.04657672718167305, 0.08546600490808487, 0...
<p>Suppose I want to handle "friend recommendation" problem on a large social network graph. I came across random-walk-with-restart as one technique used. I was thinking of using matrix factorization as another approach.</p> <p>Is there any comparative study between the two approaches? </p>
g59000
[ -0.016876649111509323, 0.0014777154428884387, 0.00160433747805655, 0.02004893869161606, -0.03758414834737778, -0.08390293270349503, 0.025947336107492447, -0.07551156729459763, -0.018882442265748978, 0.03073987364768982, 0.04626968875527382, -0.03426035866141319, 0.04330696910619736, -0.019...
<p>I want to model some data with a "Boosted Regression Trees" in order to do so I have to define a "loss function". As a response variable I have count data. So I assume that a "poisson distribution". However my response variable are not poisson distributed. I read somewhere that I for count data also a gaussian or la...
g14365
[ 0.034703657031059265, -0.06797286868095398, -0.020902063697576523, -0.06472041457891464, 0.023689741268754005, 0.02501806430518627, -0.02303251065313816, -0.04523765295743942, -0.019859032705426216, -0.04537232965230942, -0.04805596172809601, 0.023397445678710938, 0.06098349019885063, 0.03...
<p>When we have to make a forecast, the books tell us that the main method is the autoregressive moving average model. In my opinion there is another big tool, the feed forward neural network (FFNN). So I think that we could use two main tools:</p> <ul> <li>Autoregressive moving average</li> <li>Feed forward neural n...
g59001
[ 0.04169270768761635, -0.034143250435590744, 0.0028791797813028097, 0.0137914614751935, -0.003727817442268133, -0.02712431736290455, 0.02365707978606224, 0.05184251442551613, -0.05404409021139145, -0.0512273944914341, 0.038050826638936996, 0.014312393963336945, 0.11836916953325272, 0.009198...
<p>I'm using R to analyze a very large dataset. I conduct a PCA on one dataset,</p> <pre><code>PCA &lt;- prcomp(formula = ~., data = train, scale = T, na.action=na.exclude) </code></pre> <p>and then want to apply the PCA on another dataset,</p> <pre><code>test_rot &lt;- data.frame(predict(PCA,test,na.action=na.omit)...
g59002
[ 0.04307206720113754, 0.0006646083202213049, -0.011238117702305317, -0.07262946665287018, -0.022763460874557495, -0.07782665640115738, 0.08244932442903519, 0.0429522804915905, -0.0628158450126648, -0.043817292898893356, 0.032074954360723495, 0.07042200863361359, -0.022424690425395966, 0.009...
<p>Do you know any references (books/articles) which give a systematic description of the relation between approximation and regression tasks? </p> <p>I know that, although these terms originate from different worlds - functional theory and statistics, they are commonly used interchangeably but I really am intereste...
g14368
[ 0.019994914531707764, -0.009718529880046844, -0.005596564617007971, -0.005715656094253063, -0.0006076227291487157, -0.024658964946866035, 0.06246287003159523, 0.035432662814855576, -0.02263985574245453, -0.043393366038799286, -0.04737607762217522, 0.01377923134714365, 0.054058726876974106, ...
<p>I have to analyze two samples ($n_1=10, n_2=18$) in a design in which there is a between-subject factor (<code>Groups</code>: 2 levels) and a within-subjects factor (<code>Stimuli</code>: 2 levels). I'm wondering if, in such situations, a mixed (between/within) ANOVA is justified, given the small and unbalanced samp...
g59003
[ -0.025227850303053856, -0.01751256175339222, 0.013585269451141357, -0.056486379355192184, -0.01743759773671627, 0.01099317241460085, 0.01590649224817753, -0.02410595864057541, -0.052485059946775436, -0.007771678268909454, 0.0410771407186985, -0.013029525987803936, -0.016994353383779526, 0....
<p>Should income categories of a sample intercept survey be weighted to match the income proportions of the population of a city?</p> <p>Also, what guidelines should be used when deciding on category breaks between income groups?</p> <p>When looking at responses to various questions between income groups do the frequ...
g59004
[ 0.004206668119877577, 0.00006921343447174877, -0.017339885234832764, -0.04559903219342232, -0.0011825684923678637, -0.009999505244195461, 0.024163419380784035, 0.0401679091155529, -0.019085176289081573, -0.012039395980536938, 0.08757583051919937, -0.05375337973237038, 0.018280645832419395, ...
<p>This has be asked before, but I still have not grasped it completely. I know that generative models model the feature distribution and that this includes modelling the P(x|y) and P(y), which are not required if we are trying to classify (find P(y|x)).</p> <p><strong>Question:</strong> Many text books say that it is...
g59005
[ 0.03802959993481636, 0.013627558015286922, 0.018061961978673935, 0.010611703619360924, 0.03278634697198868, 0.00737290782853961, 0.040905121713876724, 0.07243502140045166, -0.024350915104150772, -0.030118314549326897, -0.07508661597967148, 0.018320681527256966, 0.05869387835264206, 0.04322...
<p>We have ten schools with different-size populations, ranging from 1052 at the smallest school to 4833 at the largest school. Each school has a goal of achieving 60 percent of its enrollees showing improvement on tests. What are the statistical advantages or disadvantages, if any, for the larger or smaller schools?</...
g14372
[ -0.055120669305324554, 0.0681724101305008, 0.00662411330267787, -0.017743511125445366, -0.013576081022620201, -0.002946882275864482, 0.0458410307765007, 0.035548560321331024, 0.028742467984557152, -0.0015443514566868544, -0.0034100920893251896, 0.025676557794213295, 0.02080238051712513, 0....
<p>I have a distribution $x\sim\text{exponential}(\lambda)$ and I know that $\hat{\lambda}=\bar{x}$ and Fisher's information to be $\lambda^{-2}$. Now, I need to use <code>R</code> to generate the data from this distribution with $\hat{\lambda}=1$, and plot the coverage of the CI of the sample as a function of sample s...
g59006
[ -0.001709739095531404, -0.03497873991727829, -0.012950400821864605, -0.07727103680372238, -0.008705520071089268, -0.053909093141555786, 0.025212127715349197, -0.01008326094597578, -0.0417112335562706, 0.022983793169260025, -0.015111211687326431, 0.048454649746418, 0.049875859171152115, 0.0...
<p>I am fitting a model to data using Bayesian inference. This is my first time of using this method.</p> <p>My posterior is $P = P_{prior} + P_{photometric} + P_{spectroscopic}$. Value of $P$ is negative and is approaching 0 while it converges. The problem is that $P_{spectroscopic}$ and $P_{photometric}$ are compute...
g19986
[ 0.011825225315988064, -0.020169442519545555, -0.010408703237771988, -0.024797756224870682, -0.03561387583613396, 0.0006443271413445473, -0.00422516418620944, -0.025577886030077934, -0.07069849222898483, -0.006831919774413109, 0.016992971301078796, 0.011426009237766266, 0.02693932130932808, ...
<p>I'm trying to estimate a correlation matrix from the 5 largest eigenvalues and associated eigenvectors of the sample correlation matrix. My problem is that the output from the following Matlab code results in much higher average correlation (0.8 v 0.4) for the financial data I'm looking at.</p> <pre><code>[V,D] = e...
g14379
[ 0.015419557690620422, -0.020439058542251587, 0.008150684647262096, -0.08464764803647995, 0.0012035107938572764, -0.013145189732313156, 0.014133062213659286, 0.037911947816610336, -0.024378271773457527, 0.0007149387965910137, 0.016148673370480537, -0.006653194781392813, 0.027667293325066566, ...
<p>It is my understanding that we should not be allowing the same data set we are analyzing to drive/define what the prior distributions look like in a Bayesian analysis. Specifically, it is inappropriate to define prior distributions for a Bayesian analysis based on summary statistics from the same data set that you a...
g43474
[ 0.03758208081126213, 0.017660288140177727, 0.024097833782434464, -0.07098191976547241, -0.08546314388513565, 0.012012528255581856, -0.01452201884239912, 0.009195301681756973, -0.05948854237794876, -0.05832943692803383, 0.08087470382452011, 0.015891602262854576, 0.019648289307951927, 0.0256...
<p>Suppose I have a statistics (say a price index) and I want to obtain standard errors for it. I have heard that blind application of bootstrap may not be a good practice. If true</p> <p>1- What could go wrong if I just apply nonparametric bootstrap and obtain standard errors for my index? </p> <p>2- If it is OK, a...
g59007
[ 0.04577033594250679, -0.031058955937623978, 0.0001362146867904812, 0.02597619965672493, 0.002973701572045684, -0.011629926040768623, 0.006617770530283451, -0.020873898640275, -0.03931744024157524, 0.01888406090438366, 0.03643879294395447, 0.03364107757806778, 0.036263007670640945, 0.000890...
<p>I am in search of open source classification algorithms. I am working on a computer vision project that uses classification for scene recognition. I wish to bench test a range of machine learning algorithms for the classification stage. The implementations must be on open source licenses and preferably written in C...
g59008
[ 0.04541578143835068, -0.06192624568939209, 0.034268781542778015, -0.03893343731760979, -0.013785981573164463, -0.010976787656545639, -0.014623407274484634, 0.0363008975982666, -0.04653869941830635, 0.03457608073949814, 0.00039270854904316366, 0.04428153485059738, 0.04320196062326431, 0.041...
<p>I have a modelling dilemma. I am creating a model that attempts to predict demand (leads not sales) based upon the correlation to advertising spend. We know that without advertising spend, demand is driven by seasonality. So our models include seasonal factors like month of the year and even day of the week. If I w...
g14384
[ -0.0077257100492715836, -0.03246030583977699, 0.00021127262152731419, 0.0013958041090518236, -0.04472401738166809, -0.0068357777781784534, 0.07071754336357117, -0.012203956954181194, 0.025837628170847893, -0.0038505748379975557, 0.03706313297152519, 0.04174111783504486, 0.036047372967004776,...
<p>I have obtained several clusters of pedestrian trajectories by <strong>hierarchical clustering</strong>. Now for each cluster, I wish to merge all the pedestrian trajectories into one "centroid trajectory".</p> <p>I am currently implementing the hierarchical clustering with the <a href="http://docs.scipy.org/doc/sc...
g59009
[ 0.03750425577163696, 0.03632287308573723, 0.007878022268414497, 0.00994577631354332, 0.046127498149871826, 0.006108639761805534, -0.008942274376749992, 0.01706511341035366, -0.02084633894264698, -0.00627788994461298, 0.03272998332977295, -0.03153849020600319, 0.07366020232439041, -0.038844...
<p>I'm sure this an obvious question for someone.</p> <p>When one combines proportions, but the overall proportion cannot exceed 100 % in reality - what is this called? For example, if I'm trying to reduce the likelihood of someone catching a disease and a medication reduces the probability by 80% and following a meal...
g14386
[ 0.06943631917238235, 0.01043021585792303, -0.0035008620470762253, 0.02793671377003193, -0.006012533791363239, 0.02438383363187313, 0.0071475389413535595, 0.04993690550327301, 0.022174960002303123, -0.025585757568478584, 0.009630781598389149, -0.025379741564393044, 0.06661047041416168, 0.02...
<p>I know this is a rather hot topic where no one really can give a simple answer for. Nevertheless I am wondering if the following approach couldn’t be useful. </p> <p>The bootstrap method is only useful if your sample follows more or less (read exactly) the same distribution as the original population. In order t...
g59010
[ -0.021716954186558723, 0.038016702979803085, 0.0014215356204658747, -0.04187135770916939, -0.014472786337137222, -0.0166391059756279, 0.0400744192302227, -0.004918174352496862, -0.002350174356251955, -0.026612576097249985, 0.02711539901793003, -0.013632383197546005, 0.042401839047670364, 0...
<p>I have two different algorithms that make forecasts for binary events. The observed result can either be 1 or 0 (like "rain" or "no rain"). The algorithms usually give a forecast in the 0.4-0.6 range.</p> <p>For measuring error I take the difference between forecast and actual result to the power of 2. So if algori...
g59011
[ 0.04666731506586075, -0.053556185215711594, 0.0017810373101383448, -0.005256053060293198, 0.0030598940793424845, -0.023005709052085876, 0.011845706962049007, 0.008191925473511219, -0.062127240002155304, -0.008488062769174576, 0.021551577374339104, 0.0396919772028923, 0.05704101547598839, 0...
<p>I was referring to this thesis, <a href="http://books.google.com/books?id=ihe0nfm97eIC&amp;printsec=frontcover&amp;source=gbs_ge_summary_r&amp;cad=0#v=onepage&amp;q&amp;f=false" rel="nofollow">High dimensional gaussian filtering for computational photography</a> (or <a href="http://people.csail.mit.edu/abadams/thesi...
g14388
[ 0.02966008149087429, -0.03800050914287567, -0.026294810697436333, -0.01746045984327793, 0.012983866967260838, 0.05197932943701744, 0.06373187154531479, 0.032674726098775864, -0.02196614071726799, -0.023498406633734703, -0.04146195203065872, 0.033087726682424545, 0.08223750442266464, -0.012...
<p>I have an ordinal variable related to an outcome that is comprised of many levels and I´d like to collapse the number of ordinal values as much as possible. </p> <pre><code>&gt; require(ipred) &gt; require(party) &gt; data(GBSG2) &gt; head(GBSG2) horTh age menostat tsize tgrade pnodes progrec estrec time cens 1 ...
g14389
[ -0.03846728801727295, -0.04078693687915802, -0.009675292298197746, -0.06637027114629745, 0.03332537040114403, 0.007451622746884823, 0.05355406180024147, 0.023827530443668365, -0.0678875669836998, -0.0027169829700142145, 0.005929107312113047, -0.028919579461216927, 0.0699843093752861, 0.013...
<p>I'm trying to understand if there is any specific difference between Informative IVMs and Relevance RVMs other than the terminology. I've not seen anything explicit.</p> <p>When I'm reading about vector machines, it is easy to see the difference of IVM/RVMs from Support (SVM) vector machines [colloquially, for clas...
g14392
[ 0.024037590250372887, -0.015005978755652905, 0.00013738764391746372, 0.015066334046423435, 0.013052623718976974, -0.015921209007501602, 0.009834609925746918, 0.02413257397711277, -0.008589696139097214, 0.023635737597942352, -0.007528258021920919, -0.003853467758744955, 0.0362948440015316, ...
<p>I have a fairly large model - a total of 8 latent variables and each one has 10 items (observed variables). Drawing this model is a mess (there is a mediation effect as well).</p> <p>Is it better to just compute correlations among my latent variables and import the correlation table instead of using all the raw dat...
g59012
[ 0.022361379116773605, -0.0062866127118468285, 0.01056275237351656, -0.11184359341859818, -0.015446742065250874, -0.004196690395474434, 0.0121843870729208, 0.03518832102417946, -0.03005228191614151, -0.04932091012597084, -0.008923330344259739, -0.026233190670609474, 0.08118646591901779, 0.0...
<p>I came across the following link. <a href="http://stackoverflow.com/questions/2764116/tag-generation-from-a-small-text-content-such-as-tweets">http://stackoverflow.com/questions/2764116/tag-generation-from-a-small-text-content-such-as-tweets</a> </p> <p>The question is about how do we assign tag to tweets automatic...
g43492
[ 0.010754589922726154, -0.014985519461333752, 0.027715574949979782, -0.01477325800806284, 0.03375977650284767, -0.04371820390224457, 0.021744439378380775, 0.029125044122338295, -0.06404902040958405, 0.02036776766180992, -0.0007396363653242588, -0.024701716378331184, 0.0758504644036293, 0.05...
<p>I am studying the stationarity and invertibility conditions of AR processes.</p> <p>Concerning the stationarity condition of the simplest form of an AR(1) process (without constant, drift). Let us say that we convert such an AR process to an infinite MA process. If we take the expected value of the new form of the ...
g14394
[ 0.019629184156656265, -0.04373335465788841, 0.01613905094563961, -0.0640881210565567, 0.04762452095746994, 0.022267725318670273, 0.10087257623672485, 0.058475423604249954, -0.02040988951921463, -0.010856852866709232, -0.02769133448600769, -0.002063518390059471, 0.012655886821448803, 0.0222...
<p>Apology if this is too simple. I couldn't get the more advanced r-help group to respond.</p> <p>I am planning to characterize workloads by measuring the correlation coefficient of two sets of real values but before that I wish to generate two sets of sample values that have a high coefficient and a low coefficient....
g14395
[ -0.0011988449841737747, -0.0011239165905863047, -0.0117878383025527, -0.040244173258543015, -0.03198351711034775, -0.0330168679356575, 0.04281133785843849, -0.04727586358785629, -0.0481872595846653, -0.012505443766713142, -0.014871697872877121, 0.015309213660657406, 0.021209869533777237, 0...
<p>I'm trying to test various functional data analysis approaches. Ideally, i'd like to test the panel of approaches i have on simulated functional data. I've tried to generate simulated FD using an approach based on a summing Gaussian noises (code below), but the resulting curves look much too rugged compared to the ...
g14396
[ 0.012296194210648537, -0.020994650200009346, -0.000493137224111706, -0.07648603618144989, -0.0029838820919394493, -0.036044057458639145, 0.041927482932806015, -0.025820519775152206, -0.02808249182999134, -0.013585708104074001, 0.006284009665250778, 0.01752471923828125, 0.07293985784053802, ...
<p>For longitudinal data with a numeric outcome, I can use spaghetti plots to visualize the data. For example something like this (taken from the UCLA Stats site):</p> <pre><code>tolerance&lt;-read.table("http://www.ats.ucla.edu/stat/r/faq/tolpp.csv",sep=",", header=T) head(tolerance, n=10) interaction.plot(tolerance$...
g59013
[ -0.006255884189158678, 0.030182374641299248, -0.0015214466257020831, -0.09356261789798737, -0.023800136521458626, -0.03325072303414345, 0.03490723296999931, -0.03605841100215912, -0.04083703085780144, -0.06068515405058861, 0.023081697523593903, 0.051531411707401276, 0.07229267805814743, -0...
<p><a href="http://en.wikipedia.org/wiki/Gamma_distribution" rel="nofollow">The Wikipedia article on the Gamma distribution</a>, lists two different parameterisation methods, one of them frequently used in Bayesian econometrics with $\alpha&gt;0$ and $\beta&gt;0$, $\alpha$ is shape parameter, $\beta$ is rate parameter....
g59014
[ 0.05686383321881294, -0.027298202738165855, -0.023523300886154175, -0.025461792945861816, 0.04321813955903053, 0.010220338590443134, 0.03630838543176651, -0.03642798587679863, -0.0658072754740715, 0.006115722004324198, -0.021489502862095833, 0.011176233179867268, 0.014276359230279922, 0.00...
<p>Say I have a project (you know the typical one you can represent using a <a href="http://en.wikipedia.org/wiki/Gantt_chart" rel="nofollow">Gantt Chart</a> )</p> <p>If I where to assign a particula probability to each of the tasks in the Gantt... say for example:</p> <ul> <li>Task1 (2 days, i am 75% sure of that) <...
g59015
[ 0.013698759488761425, -0.0021938583813607693, 0.009579884819686413, -0.031201934441924095, -0.021648185327649117, 0.0130769032984972, -0.0026092526968568563, 0.024497635662555695, -0.03121163323521614, 0.026179656386375427, -0.027643661946058273, 0.00369607238098979, 0.0688672885298729, 0....
<p>I have developed a model for construction waste reduction, but I'm not sure how to validate it to serve the purpose. I have two sets of data: measured waste % from sites and predicted values obtained from model constructed. How do I tell that the model constructed is good for prediction purposes? The data is linearl...
g59016
[ -0.011202850379049778, -0.02616797760128975, 0.033155474811792374, -0.06295614689588547, 0.03152019530534744, 0.015250710770487785, 0.04893871024250984, 0.0570746585726738, -0.020550986751914024, -0.03917497768998146, -0.0057884640991687775, -0.027955682948231697, 0.09595955908298492, -0.0...
<p>For some volume reconstruction algorithm I'm working on, I need to detect an arbitrary number of circular patterns in 3d point data (coming from a LIDAR device). The patterns can be arbitrarily oriented in space, and be assumed to lie (although not perfectly) in thin 2d planes. Here is an example with two circles in...
g59017
[ 0.04822257161140442, -0.05055679753422737, 0.0055629718117415905, -0.06317505240440369, -0.03446076810359955, -0.025867022573947906, -0.020099136978387833, -0.02714400738477707, -0.047162268310785294, -0.00867900624871254, 0.039216019213199615, -0.0105514507740736, 0.07620110362768173, 0.0...
<p>I have a data with 15 variables. I did PCA on it to come up with 3 factors all of which had 5 variables each that explained the corresponding variance in those factors. After completing the entire process, I ran Logistic regression with these factors being my independent variables. I have individual weights of these...
g59018
[ 0.0018113235710188746, -0.013645559549331665, 0.008612358942627907, -0.03474723547697067, 0.010180734097957611, -0.0016702802386134863, 0.07742629200220108, 0.01571820303797722, -0.08042990416288376, -0.07437137514352798, -0.028571750968694687, 0.04407240077853203, 0.017290716990828514, 0....
<p>This maybe a naive question, but I found two ways to calculate the relative error, one is common and another is from the papers I read.</p> <p>Assume that the exact number is $n$, and the estimated number is $\tilde{n}$, the two ways to calculate the relative error are:</p> <p>1) relative error = $\frac{n-\tilde{n...
g14400
[ 0.04235605522990227, -0.01739412732422352, 0.0018943697214126587, -0.05128779634833336, 0.008696775883436203, -0.002736383583396673, 0.07046840339899063, 0.010368382558226585, -0.035628288984298706, 0.026081204414367676, -0.004432874731719494, 0.07101281732320786, 0.05602404102683067, 0.03...
<p>My question is almost the same as that of <a href="http://stats.stackexchange.com/questions/5850/order-statistics-probability-random-variable-is-k-th-out-of-n-when-ordered?rq=1">Order statistics: probability random variable is k-th out of n when ordered</a></p> <p>with the exception that the underlying distributio...
g14401
[ -0.015009819529950619, 0.02596992813050747, -0.02963644452393055, -0.05824396386742592, -0.033457573503255844, -0.05218316242098808, -0.03066014125943184, -0.00782186072319746, -0.05158303678035736, -0.017184371128678322, -0.03463921695947647, 0.00333144492469728, -0.010078276507556438, -0...
<p>I have collected a bunch of statistical results in the form of "YES" and "NO" strings.</p> <p>Now I would like to have a summary cell displaying "YES" if all these cells equal "YES" (or are empty).</p>
g14403
[ 0.010037965141236782, 0.007474438287317753, 0.0037030798848718405, -0.03671947866678238, 0.005407384596765041, -0.057068340480327606, 0.00412098178640008, 0.001582454307936132, -0.013262075372040272, -0.010629292577505112, -0.04534550756216049, 0.02562514692544937, 0.031110476702451706, 0....
<p>I read <em><a href="http://eu.wiley.com/WileyCDA/WileyTitle/productCd-0471727814.html" rel="nofollow">Clinical Trials, a Methodologic Perspective</a></em> (S. Piantadosi) as I was suggested by one of you.</p> <p>According to the author:</p> <blockquote> <p>A trialist must understand two different modes of thin...
g59019
[ 0.044429976493120193, 0.05795076861977577, -0.01113487035036087, -0.031661003828048706, 0.05722937732934952, -0.020533164963126183, 0.031538769602775574, 0.03681843727827072, -0.01801108382642269, -0.0322071872651577, 0.021539436653256416, 0.000033576026908122, 0.09618045389652252, 0.00604...
<p>I trained two svms (LIBSVM) with 15451 samples after I did a 10-fold cross-validation and found the best parameter values for gamma and C (RBF kernel). In one svm I used just 1 feature and in the second an additional one (to see whether this additional is improving prediction). After CV I have am accuracy of 75 % (S...
g59020
[ 0.022277148440480232, -0.029546556994318962, 0.026493830606341362, 0.0011059528915211558, 0.025274939835071564, 0.0018253811867907643, 0.03825702145695686, 0.0315370075404644, -0.03988795727491379, 0.013079114258289337, 0.010891236364841461, 0.008276857435703278, 0.002628990216180682, 0.01...
<p>I have used an established 33-item empathy questionnaire. I have modified the scale from a 9 point to a 4 point scale in order to force an answer and reduce ambiguity. </p> <p><strong>Do I need to retest the scale properties after this reduction in the number of response options?</strong></p>
g59021
[ 0.0011879918165504932, -0.0023374638985842466, -0.0018823035061359406, -0.049557313323020935, 0.027393201366066933, 0.024622686207294464, -0.011484313756227493, 0.01529976911842823, 0.011618471704423428, -0.010682794265449047, -0.04137333482503891, -0.039374008774757385, -0.01039567217230796...
<p>What is the difference between parameter estimation which includes system identification and learning in machine learning perspective?</p> <p>Let say the model is y= Ax. x is the input and y is the output. In estimation, I have seen parameters to be estimated, maybe in this case it is A and the samples are also est...
g59022
[ 0.04917608201503754, -0.06095851585268974, 0.02925068885087967, 0.009672357700765133, -0.01353027019649744, 0.0017456809291616082, -0.00247526285238564, 0.017769120633602142, -0.018199168145656586, 0.02349982224404812, -0.03703063353896141, 0.06334107369184494, 0.06761140376329422, 0.04529...
<p>In meta-analysis, I know that an important assumption is independence. Clearly, if we want to estimate a pooled effect size, its best if each effect comes from an independent sample of observers. Otherwise, the summary effect will be overly influenced by samples that contribute more than one effect size to the model...
g59023
[ -0.031025685369968414, 0.013448859564960003, 0.012201288715004921, -0.07339697331190109, -0.0362597219645977, -0.035180237144231796, 0.008826197125017643, 0.03450489416718483, -0.007556944619864225, -0.02537195011973381, 0.009313561953604221, -0.002436106326058507, 0.005310904234647751, 0....
<p>I have a credit card data and that contains monthly amount of revolving and amount of fee for each customer. As a bank perspective, I want to get the expected value of future revolving amount and fee amount in total (by using discount factor in infinite time horizon). I want to get the expected future value of revol...
g59024
[ 0.0033100598957389593, -0.0032370754051953554, -0.009059587493538857, -0.02301226742565632, -0.06520386040210724, -0.0502825602889061, 0.06614911556243896, 0.017762353643774986, -0.039670467376708984, -0.021739399060606956, -0.0007829496753402054, 0.05748885124921799, 0.04068520665168762, ...
<p>There's a question I'm not really sure if I did it right or even understand what its trying to say.</p> <blockquote> <p>There is a coin which produces heads with an unknown probability $p$. How many times should we throw this coin if the proportion of heads is to lie within $0.05$ of $p$ with probability at least...
g14409
[ 0.034929290413856506, 0.015845483168959618, 0.004750614054501057, -0.051891449838876724, 0.025302238762378693, -0.003092733444646001, 0.06226534768939018, 0.022858457639813423, -0.051554661244153976, -0.00027681529172696173, -0.019869249314069748, 0.04888572171330452, -0.027217520400881767, ...
<p>Reading Belsey (Conditioning Diagnostics 1991) he mentions on page 35 what was then a new technique of using the flats of the Matroid of dependencies in X to identify multicollinearity see Greene below).</p> <p><a href="http://www.sciencedirect.com/science/article/pii/016794739090108T" rel="nofollow">http://www.sci...
g59025
[ 0.026640741154551506, -0.02278110571205616, 0.006284249015152454, -0.05304865166544914, -0.011199139058589935, -0.06937699019908905, 0.01833106204867363, 0.015641337260603905, -0.0061036450788378716, -0.01585603691637516, 0.04501805827021599, -0.06596304476261139, 0.06827857345342636, 0.03...
<p>I am not good in statistics so I desperately need your help.</p> <p>So I have this dataset of distributions, and I want to know if I can use the KS-test on it. the Idea is saying that the feature's distribution 1 in case 1 is different than its distribution 2 in case 2. For example, let s take the feature "size" in...
g59026
[ 0.047246303409338, -0.038424164056777954, -0.006813384592533112, -0.011775991879403591, -0.036003775894641876, -0.010355492122471333, -0.02826087363064289, 0.054911449551582336, -0.0633738785982132, -0.038570575416088104, 0.004932224750518799, 0.04486474767327309, 0.03277711942791939, 0.01...
<p>I'm training a classification model with Random Forest to discriminate between 6 categories. My transactional data has approximately 60k+ observations and 35 variables. Here's an example of how it approximately looks like.</p> <pre><code> _________________________________________________ |user_id|acquisition_date|x...
g59027
[ -0.032221775501966476, -0.03556513041257858, -0.015793049708008766, -0.05430379882454872, 0.007606565486639738, -0.04949232563376427, 0.005387984681874514, 0.008011376485228539, -0.0482536256313324, -0.013983329758048058, 0.017939573153853416, 0.01432934869080782, 0.06310616433620453, 0.01...
<p>I am trying to do regression with a deep convolutional network. I am using the code from <a href="http://deeplearning.net/tutorial/lenet.html" rel="nofollow">http://deeplearning.net/tutorial/lenet.html</a></p> <p>Currently, the network is using logistic regression as its last layer which I want to remove. If I simp...
g14411
[ 0.0045615555718541145, 0.010834193788468838, -0.022340528666973114, -0.0510333888232708, 0.021204471588134766, -0.06186126545071602, 0.03132818266749382, 0.03676723316311836, -0.04500699043273926, -0.004786198493093252, -0.0513511598110199, 0.032889559864997864, 0.01511162519454956, 0.0496...
<p>Been watching this video by Tom Minka on Expectation Propagation (<a href="http://videolectures.net/mlss09uk_minka_ai/" rel="nofollow">http://videolectures.net/mlss09uk_minka_ai/</a>). At about 19:12, he says that the reason the moment matching technique works is that when you multiply a lot of likelihood terms toge...
g962
[ 0.04646334797143936, -0.02610686607658863, -0.009478294290602207, -0.05885571241378784, -0.04198770225048065, -0.0037611261941492558, -0.0003643715172074735, -0.006548331119120121, -0.01566934958100319, -0.02379126474261284, -0.019097041338682175, -0.03653891384601593, 0.0016320750582963228,...
<p>I have been working in R and have finally got some code working regarding intraclass correlation coefficients. In the output I get something called "subjects". I thought it was to do with the number of columns of data but for a file with 20 columns I get 3 or 4 subjects depending on the data set.</p> <p>I have very...
g14413
[ 0.022391747683286667, -0.03227907046675682, 0.014676399528980255, -0.052238862961530685, -0.02643437683582306, 0.016072601079940796, 0.06533627957105637, -0.00027063777088187635, -0.0585361123085022, -0.09224747121334076, -0.034718770533800125, 0.04546451196074486, 0.005001520272344351, -0...
<p>I'm having a discussion with my colleague about an exam question. </p> <p>Let's say we have a questionnaire in which, among others, the preference for a political party is asked for. How would we model this, do we use a fixed or random effect? I think we should go for a random effect as it's a questionnaire and we ...
g59028
[ -0.010356447659432888, -0.016559388488531113, 0.007987837307155132, -0.031636424362659454, 0.018526818603277206, 0.027903657406568527, -0.037314362823963165, 0.04598207399249077, 0.008449221029877663, 0.0173717699944973, 0.04211944714188576, 0.03008132055401802, 0.007013199385255575, 0.059...
<p>I have an examination application that carries questions of various difficult groups: </p> <p>a) Basic b) Standard c) Advanced </p> <p>Based on data generated by users taking these questions I am trying to create a score of popularity and difficulty for the questions. </p> <p>I figured that three factors work tow...
g59029
[ -0.042447201907634735, -0.017780503258109093, -0.005700619425624609, -0.005463242530822754, 0.007971608079969883, 0.03316641226410866, 0.06746583431959152, 0.04573828727006912, -0.03767252340912819, 0.035831332206726074, 0.008545584976673126, 0.009135025553405285, 0.025253405794501305, 0.0...
<p>In my textbook they have this inequality:</p> <p>$$ \chi_{1-\frac{\alpha}{2}}^2 &lt; \frac{(n-1)s^2}{\sigma^2} &lt; \chi_{\frac{\alpha}{2}}^2$$</p> <p>which later becomes this statement:</p> <p>$$\frac{(n-1)s^2}{\chi_{\frac{\alpha}{2}}^2 } &lt; \sigma^2 &lt; \frac{ (n-1)s^2}{ \chi_{1-\frac{\alpha}{2}}^2}$$</p> <...
g59030
[ -0.014657759107649326, 0.009224585257470608, -0.022283386439085007, -0.01251245941966772, -0.0033310584258288145, -0.0013718081172555685, 0.016550403088331223, 0.02830856293439865, -0.017309365794062614, -0.0075615327805280685, -0.03661727532744408, 0.04207136854529381, 0.006281109992414713,...
<p>There are 42 actors in our movie set. We have 2 rounds of random assignments to teams of 3. In each round, we will randomly divide the actors into 14 total groups of 3 persons each. (A) Suppose that we have that A and B are teammates in Round 1. What's the probability that they are teammates again in Round 2? (B) Wh...
g59031
[ -0.02594849094748497, -0.01912560686469078, -0.0014720330946147442, 0.03166086599230766, -0.0052144345827400684, -0.03889163210988045, 0.018594974651932716, 0.045226555317640305, -0.05664164200425148, 0.05759614333510399, -0.02858271449804306, 0.0405082106590271, -0.061436764895915985, -0....
<p>what does it mean for a variable to be statistically significant??</p> <p>Could anyone give a complete answer to this question?</p>
g49294
[ -0.031268343329429626, 0.05973714962601662, -0.013924852013587952, -0.014733894728124142, 0.009973575361073017, 0.02366393804550171, -0.001881573349237442, 0.07892820984125137, -0.012571915984153748, -0.016782309859991074, -0.020070144906640053, 0.015989897772669792, 0.01949959434568882, -...
<p>Please can you help me to solve this problem. It should be calculated by vectorization. The question is:</p> <blockquote> <p>The i-th deletion residual $e_{(-i)}$ is defined as $e_{(-i)} = y_i - X^\top B_{(-i)}$<br> where $(X^\top)$ is the i-th row of the design matrix $X$ and $B_{(-i)}$ is a column vector of l...
g49722
[ 0.0500677190721035, -0.04300147294998169, 0.0012754189083352685, 0.004093635827302933, -0.009544609114527702, -0.022657034918665886, 0.007558333687484264, 0.012379934079945087, -0.05684215947985649, 0.060317907482385635, -0.014636888168752193, 0.034465547651052475, -0.0025067394599318504, ...
<p>When the solution is extremely sparse, probably the fastest method for solving LASSO regression is least angle regression, which starts from an all-zero solution and adds nonzero elements to the parameter vector one at a time. I am trying to solve a group lasso problem:</p> <p>$ \min_{\beta} \frac{1}{2}||y-X\beta||...
g59032
[ 0.031189855188131332, -0.02690090984106064, -0.013432769104838371, -0.008011015132069588, 0.007015235722064972, -0.031745582818984985, 0.038241833448410034, 0.033216431736946106, -0.03548678383231163, 0.007090350147336721, 0.007284937892109156, 0.03770892694592476, 0.01432770024985075, 0.0...
<p>I have this little problem and I would appreciate some help.</p> <p>As part of my master thesis, I have to identify a trend in a univariate (GDP) time series for different countries. I have to separate the trend and the stochastic element in it for each country.</p> <p>I have managed to do so by doing:</p> <p>va...
g44286
[ 0.027379613369703293, -0.003244113177061081, -0.0268876850605011, -0.04549252986907959, 0.009045631624758244, -0.02235642448067665, 0.04787120968103409, -0.00715340580791235, -0.03107600472867489, 0.010948163457214832, 0.009249137714505196, 0.026832126080989838, -0.02060120552778244, -0.03...
<p>I am new to data mining and I am exploring ways to divide a range of data into bins. It would be much easier to search for the algorithms if I knew the scientific term for this job (ranking maybe?). Here is what I desire:</p> <p>I have a data within a defined range, i.e. [min, max]. I know the first order statistic...
g59033
[ 0.02191971242427826, 0.020567761734128, -0.036239419132471085, -0.07430898398160934, -0.01322984229773283, -0.03896614536643028, -0.011764328926801682, 0.016348227858543396, -0.04880427196621895, -0.050832364708185196, 0.010177917778491974, -0.0033583324402570724, 0.034470334649086, 0.0028...
<p>In one-way ANOVA ($Y_{ij} = A_i + \epsilon_{ij}$) the standard errors of coefficients are computed pretty easily:</p> <p>$$SE_{\widehat{A_{i}}} = \sqrt{\text{mean residual sum of squares} \over \text{size of group i}}$$</p> <p>How exactly are the standard errors of coefficients (factor levels) computed in two-way ...
g43519
[ -0.045031484216451645, -0.07142980396747589, -0.01968899741768837, -0.01721157319843769, -0.01766851730644703, -0.027334801852703094, 0.04417839273810387, -0.011601177975535393, -0.025494961068034172, 0.056390367448329926, -0.02353694848716259, 0.038992688059806824, 0.025636792182922363, 0...
<p>This is my first question is this forum. I have the a problem that I want to solve with the <code>lme</code> function of the <code>nlme</code> package of <code>R</code>. </p> <p>The goal of my study is analyse if the cholesterol level (quantitative) change in a series of patients depending of 3 different treatments...
g59034
[ -0.024271711707115173, -0.0410701259970665, 0.013628050684928894, -0.031385596841573715, 0.0037849019281566143, -0.03950081765651703, 0.006760517600923777, -0.019444908946752548, -0.08173149079084396, 0.0009432928636670113, -0.04381607845425606, 0.07464435696601868, 0.02271222695708275, -0...
<p>In the context of neural networks, what is the difference between training like this:</p> <pre><code>foreach observation in dataset: compute_error(observation) update_weights() </code></pre> <p>and</p> <pre><code>foreach observation in dataset: compute_error(observation) update_weights() </code></pre>...
g59035
[ 0.04241807386279106, 0.002611956326290965, -0.016715142875909805, -0.021416181698441505, 0.01357831247150898, -0.0012480705045163631, 0.07003176212310791, 0.06299995630979538, -0.08866975456476212, -0.058836355805397034, -0.03515085205435753, 0.021755937486886978, 0.04452134668827057, 0.01...
<p>Let's say I build a Generalized Least Squares model. I follow the standard procedure and first estimate a LM model. Then I create an error-response covariance matrix based on the residuals of this model. Now I build an LM model again only this time I specify weights based on the error-response covariance matrix.</p>...
g14420
[ -0.004697825759649277, -0.04487738013267517, 0.009799427352845669, -0.06714720278978348, -0.058728788048028946, 0.04386133700609207, 0.01534966193139553, -0.016879340633749962, -0.06460832804441452, 0.025471163913607597, -0.014124741777777672, 0.05757670849561691, 0.04674456641077995, -0.0...
<p>Suppose I have a multivariate predictive distribution (dimension N). The distribution cannot be described in closed form with a mu vector and associated covariance matrix. </p> <p>However, I can sample from the distribution various scenarios with associated probabilities. One can imagine sampling 100,000 scenarios ...
g14423
[ -0.0026136632077395916, -0.01195051521062851, 0.01277233101427555, 0.01802773028612137, -0.049362149089574814, 0.008811774663627148, -0.017712652683258057, -0.04230145737528801, -0.08094532042741776, 0.003828387474641204, 0.0281521026045084, -0.040905583649873734, 0.04822049289941788, 0.02...
<p>I'm working on a couple of problems where I use pseudo-likelihood (a.k.a. composite likelihood) as an estimation method since full maximum likelihood is not feasible. </p> <p>To give some background without getting into very specific details, in both projects the data are iid samples of clustered binary data such t...
g59036
[ -0.03126402571797371, -0.0009701920789666474, 0.0063699996098876, 0.02835770510137081, -0.02484368160367012, -0.06883662939071655, 0.025426851585507393, 0.008589384146034718, -0.03876173496246338, 0.03943382203578949, -0.007935659028589725, -0.019903024658560753, 0.041034579277038574, 0.06...
<p>Cochran's Theorem says that</p> <blockquote> <p>The conditional distribution of $\chi^2=\sum_{i=1}^nX_i^2$ under $m(&lt;n)$ independent homogeneous linear constraints: $$\begin{align}a_{11}X_1+\cdots\dots +a_{1n}X_n&amp;=0\\\vdots \\a_{m1}X_1+\cdots\dots +a_{mn}X_n&amp;=0\end{align}$$ is $\chi ^2_{n-m}$, provided...
g59037
[ 0.015989623963832855, 0.036428455263376236, -0.02240663394331932, -0.02619696408510208, 0.004023290704935789, -0.013889133930206299, 0.052778251469135284, -0.013452915474772453, -0.020228199660778046, 0.013172034174203873, -0.040168821811676025, 0.01848352886736393, -0.034018658101558685, ...
<p>Suppose we have the ordinal response $y:\{\text{Bad, Neutral, Good}\} \rightarrow \{1,2,3\}$ and a set of variables $X:=[x_1,x_2,x_3]$ that we think will explain $y$. We then do an ordered logistic regression of $X$ (design matrix) on $y$ (response).</p> <p>Suppose the estimated coefficient of $x_1$, call it $\hat{...
g59038
[ -0.028492847457528114, 0.00676942802965641, -0.01260718610137701, -0.04098055511713028, 0.061647988855838776, -0.054047372192144394, 0.0005929925828240812, 0.007781656458973885, -0.01708107627928257, -0.015158134512603283, 0.015362442471086979, 0.044022027403116226, 0.06135046109557152, -0...
<p>Using the WeakLearn algorithm from the <a href="http://www.ai.mit.edu/projects/jmlr/papers/volume4/freund03a/freund03a.pdf" rel="nofollow">original RankBoost paper</a>, how do you set the optimal threshold to maximize AU-RPC (instead of AUC)? And, once that threshold is set, how do you calculate the AU-RPC for use i...
g59039
[ -0.007136284373700619, -0.04090600088238716, -0.029336923733353615, -0.007271214388310909, 0.03346436843276024, -0.03661772608757019, -0.03388145565986633, 0.027805965393781662, -0.01169001217931509, 0.014845704659819603, -0.005465379450470209, 0.05106512829661369, 0.04038514196872711, -0....
<p>Coming from a rigorous background in analysis and modern probability theory, I find Bayesian statistics straightforward and easy to understand, and frequentist statistics incredibly confusing and unintuitive. It seems that frequentists are really doing bayesian statistics, except with "secret priors" that aren't wel...
g59040
[ 0.04997571185231209, 0.0349121168255806, 0.009717509150505066, -0.060690466314554214, -0.006112047471106052, -0.05309540033340454, 0.010067816823720932, 0.0021155201829969883, 0.0414925143122673, -0.033818647265434265, 0.009797470644116402, 0.0036181360483169556, 0.031625598669052124, 0.00...
<p>To (hopefully) clarify the question a bit more if you have a broad working hypothesis that x influences y, on a causal/predictive basis (e.g. if x goes up in time t, then you would expect y to go up in time t+1, assuming the working hypothesis is true). </p> <p>In traditional time-series analysis the length of time...
g59041
[ 0.007842474617064, 0.000909124908503145, -0.00022582203382626176, -0.020366020500659943, -0.003961197566241026, -0.07407931983470917, 0.057082824409008026, 0.007363487500697374, -0.03824814409017563, -0.014584760181605816, 0.015336636453866959, 0.019695201888680458, 0.08832968771457672, 0....
<p>I have to work with bimodal and normal distributions. Starting from a set of given bimodal distribution I have to draw a set of random vectors. Some of these random vectors must have given correlation coefficients. I thought to draw a vector $x_1$ of random values from one of the bimodal distributions, and then mix ...
g59042
[ -0.009754898026585579, -0.03419368341565132, 0.0014365824172273278, -0.13279126584529877, -0.014904334209859371, -0.01580679975450039, -0.03395385295152664, -0.02283857949078083, -0.028224678710103035, -0.026820559054613113, 0.012131175957620144, -0.011672805063426495, 0.026063648983836174, ...
<p>I'd like to conduct a multivariate cluster analysis on data from the American Community Survey's PUMS microsample (individual level records). I've only performed cluster analysis before when there are no errors (or imagined to be no errors) in the data. </p> <p>Has anyone tried to combine Thomas Lumley's excellent ...
g59043
[ -0.01936217211186886, -0.02114526927471161, -0.0028558794874697924, -0.01475209929049015, -0.007313824258744717, -0.02850332111120224, -0.03878418728709221, -0.01862378790974617, 0.012260304763913155, -0.03180254250764847, 0.052819374948740005, -0.044618159532547, 0.053789399564266205, 0.0...
<p>Do you have an R code to implement <code>Lasso</code> with <code>BIC</code>? Note that there is an R package called <code>parcor</code> to implement <strong>lasso</strong> and <strong>adaptive lasso with Cross validation</strong>. But what I am looking for is the <strong>lasso with BIC</strong>. Can you please help...
g59044
[ 0.07943820208311081, -0.06706243753433228, 0.02385874092578888, 0.009387321770191193, 0.02782185934484005, -0.02587072178721428, -0.047422442585229874, 0.0333692692220211, -0.014813733287155628, -0.016399631276726723, -0.0580020509660244, 0.03939735144376755, 0.022942231968045235, -0.00601...
<p>A simple example:</p> <p><code>plot(hclust(dist(c(1:3)),method = "ward"))</code></p> <p>I would like to know which calculations (in R) can reproduce the distance of 3 from {1,2} to be 1.67</p> <p><img src="http://i.stack.imgur.com/XXMs2.png" alt="enter image description here"></p> <p>Thanks.</p>
g43541
[ 0.029723865911364555, -0.027998916804790497, -0.02028416097164154, -0.03641726076602936, -0.010444467887282372, -0.02217934839427471, -0.00392811419442296, 0.02877802401781082, -0.08122003078460693, -0.030489536002278328, -0.011472943238914013, 0.017908627167344093, 0.0459606908261776, -0....
<p>A system has an incoming request rate of N requests per second. The system hosts a pool of x workers where x >= N. Each worker can complete a single request in approximately t seconds. The maximum parallel requests which can be processed by the system is x.</p> <p>But sometimes a worker can get delayed indefinitely...
g43542
[ 0.019220704212784767, 0.03210322931408882, -0.005659181158989668, -0.031229404732584953, 0.043784137815237045, -0.03996363282203674, 0.01798519864678383, -0.0019690864719450474, -0.05024758353829384, 0.02296447940170765, 0.001965489238500595, 0.014675267972052097, 0.03680981323122978, 0.00...
<p>I have computed a correlation matrix of a data set which contains 455 data points, each data point containing 14 characteristics. So the dimension of the correlation matrix is 14 x 14.</p> <p>I was wondering whether there is a threshold for the value of the correlation coefficient which points out that there is a s...
g49543
[ -0.0027324433904141188, 0.03981771320104599, -0.0005510184564627707, -0.04574370011687279, 0.01604003831744194, 0.01687506213784218, 0.044585466384887695, -0.003583432175219059, -0.04558005556464195, -0.010285072028636932, -0.007527732755988836, 0.0651380866765976, 0.05815250799059868, -0....