question stringlengths 37 38.8k | group_id stringlengths 2 6 | sentence_embeddings listlengths 768 768 |
|---|---|---|
<p>I know that I, and others, sometimes get confused by the hypergeometric distribution (HD) as it pertains to overlapping lists. This is because the HD is usually described with the "balls in an urn" metaphor and not using "overlapping lists."</p>
<p>What is the proper way to calculate the p-value, according to the h... | g65971 | [
0.033751729875802994,
0.07528354972600937,
-0.005030409432947636,
-0.046770062297582626,
0.008538100868463516,
0.03314907103776932,
0.01996004208922386,
-0.007396774832159281,
-0.056036774069070816,
0.02725416235625744,
0.0016174433985725045,
0.0018097221618518233,
0.03858815133571625,
0.0... |
<p>I am trying to find the standard error on the median, $\sigma_\tilde{x}$, for a sample, $X_i$, of a population whose pdf could be modelled as $\lambda e^{-\lambda x} $ if normalized.</p>
<p>To make sure we are all on the same page. $\mu = 1/ \lambda $, $\sigma = 1 / \lambda$ and $\tilde{x} = ln(2) / \lambda$ for th... | g65972 | [
0.04471077397465706,
-0.07174602150917053,
-0.0037551098503172398,
-0.05508066713809967,
-0.01880490593612194,
-0.042363494634628296,
-0.00043352306238375604,
0.03406906872987747,
-0.05693582445383072,
0.04170764237642288,
0.04349611699581146,
0.0315769724547863,
0.01303985994309187,
-0.04... |
<p>SAS Enterprise Miner nicely creates coded dummy variables for any categorical variables used in a logistic regression model. When it performs a variable selection using stepwise sequential selection in the Regression node, however, if one of the dummy variables is included in the regression model, all of the other d... | g65973 | [
-0.04903259500861168,
-0.008411929942667484,
-0.004066463094204664,
-0.014163883402943611,
0.06437571346759796,
-0.03955814242362976,
0.005895901937037706,
0.0341867133975029,
-0.027491942048072815,
-0.0054717580787837505,
-0.01264987699687481,
0.04889523983001709,
0.013685599900782108,
0.... |
<p>I have a R-code for acceptance rejection method for a beta-distribtuion but would like to use it for a binomial(30, 0.4) distribution instead. Here is the code:</p>
<pre><code>sample.x = runif(100000,0,1)
accept = c()
for(i in 1:length(sample.x)){
U = runif(1, 0, 1)
if(dunif(sample.x[i], 0, 1)*3*U <= dbeta(sa... | g65974 | [
-0.011929100379347801,
0.010004834271967411,
0.01952819526195526,
-0.07576781511306763,
-0.025418799370527267,
-0.03388908877968788,
-0.020915979519486427,
0.04799306392669678,
-0.05152701586484909,
-0.045007068663835526,
-0.02281096763908863,
0.01784663274884224,
0.009884252212941647,
0.0... |
<p>I would like some help with the following problem.</p>
<p>I have 40 subjects. On each subject I take a measurement at 25 body
sites. The measurement is a continuous variable that varies between 0 and 1 and appears to be normally distributed. I want do a test to see if body site statistically significantly affects... | g65975 | [
0.017834151163697243,
-0.031971633434295654,
-0.00824060570448637,
-0.02206331491470337,
-0.09503669291734695,
0.01658196747303009,
0.02409023977816105,
0.03879392519593239,
0.02318865805864334,
-0.021053791046142578,
-0.016105974093079567,
-0.015220582485198975,
-0.02113809809088707,
0.04... |
<p>I'm searching how to (visually) explain simple linear correlation to first year students.</p>
<p>The classical way to visualize would be to give an Y~X scatter plot with a straight regression line.</p>
<p>Recently, I came by the idea of extending this type of graphics by adding to the plot 3 more images, leaving m... | g65976 | [
0.023804470896720886,
0.0028033696580678225,
-0.011684420518577099,
-0.06351121515035629,
-0.031690843403339386,
-0.0037998375482857227,
0.01154806837439537,
-0.0074355085380375385,
0.012671185657382011,
-0.04971183091402054,
0.06103913113474846,
0.03784869238734245,
0.07885892689228058,
0... |
<p>I have a 2x4 table with nominal data (the columns are simply YES/NO, the rows are four categories)</p>
<pre><code>Category A: 7, 13
Category B: 15, 5
Category C: 15, 5
Category D: 19, 1
</code></pre>
<p>I am hoping to test the significance of a couple of the categories to each other (2x2), but also to assess the ... | g65977 | [
-0.04579790309071541,
0.001469551119953394,
-0.00907085370272398,
-0.0625620186328888,
0.030557706952095032,
-0.020960066467523575,
0.03283802047371864,
0.038457904011011124,
-0.08968953788280487,
-0.021169979125261307,
-0.012178740464150906,
0.027314120903611183,
0.031863853335380554,
0.0... |
<p>I've read through the R Book and I think is the closest I've come to the problem.</p>
<p>I have two time periods - say TEST1 and TEST2 where I have aggregated samples of data of how many 'animals' were lost in that time period compared to the starting number of animals.</p>
<p>I would like to identify what's drivi... | g65978 | [
-0.013927686028182507,
-0.04219083860516548,
-0.012148629873991013,
-0.06283603608608246,
0.01962979882955551,
-0.04944006726145744,
0.08433564007282257,
-0.04738728329539299,
-0.04146315157413483,
0.01655377820134163,
-0.009847130626440048,
0.06165352463722229,
0.054682254791259766,
0.025... |
<p>I have a collection of scores from critics for various restaurants. Some restaurants are rated by multiple critics and some by only a single critic. Each critic rates restaurants using different scales such as 1 - 5 (stars), 1 - 10, 1 - 100 etc. Most critics rate a restaurant only once although they may revisit it a... | g65979 | [
-0.05320005863904953,
0.0048713418655097485,
-0.01109502837061882,
0.005844087805598974,
0.03222310543060303,
0.01394374668598175,
-0.03686177358031273,
0.09616909176111221,
-0.03324788436293602,
0.05013236030936241,
0.029708389192819595,
0.0005501511041074991,
0.026564471423625946,
0.0636... |
<p>I have measurements for a number of different discrete groups (e.g., Group A, Group B, . . . Group Z). I believe that the measurements for Groups A and B are smaller than those for groups C through Z. I would like to know the best way to demonstrate this, taking sample size into account. So far I've been using ANOVA... | g24828 | [
-0.0014719755854457617,
-0.003812904469668865,
-0.0071176765486598015,
-0.07016099244356155,
-0.03873522952198982,
-0.06752144545316696,
0.03441372141242027,
-0.01565401628613472,
-0.013067605905234814,
0.013923239894211292,
0.026925010606646538,
-0.02668222412467003,
0.022682493552565575,
... |
<p>I have copied my Parameter estimates table below and am not sure how to interpret it or what it means. Any help would be greatly appreciated!
Warmly,
Carolynn </p>
<p>Dependent Variable Parameter B Std. Error t Sig.
95% Confidence Interval
Lower Bound Upper Bound
neutral pre stai Intercept
MASCscore
[Gender0F1M=0]... | g65980 | [
0.023447679355740547,
-0.04504543915390968,
-0.03549980744719505,
-0.006702185608446598,
-0.008124026469886303,
0.04079779237508774,
0.06401502341032028,
0.0028117795009166002,
-0.051755402237176895,
0.003055912908166647,
-0.0505131371319294,
0.07679536193609238,
0.027253655716776848,
-0.0... |
<p>We use turbidity to estimate suspended-sediment concentration (SSC)- our data was serially correlated. We ran an ARMA process and ended up with a AR (2) model. Our equation in log form is:</p>
<p>estlogi(SSC) = 1.35149 + 0.785099logi(Turbidity) - 0.00095 + 0.7492ei-1+ 0.2052ei-2</p>
<p>How can we input the ei-1 &a... | g65981 | [
0.014942554756999016,
-0.09654086828231812,
-0.0008028196170926094,
-0.06730720400810242,
-0.04175335541367531,
0.05005401372909546,
0.0758025273680687,
-0.0190777275711298,
-0.06988797336816788,
0.02304774336516857,
0.01524422224611044,
0.040626682341098785,
0.10510998219251633,
-0.012468... |
<p>I have a time series count data by customers that I would like to regress on past months items (count) sold and promotional effects (current and past). Below is an example, and the dataset has one record per customer.</p>
<p>Y= number of items (count) sold </p>
<p><strong>Customer 1:</strong>
Y/Count data (curren... | g65982 | [
-0.0008682009065523744,
-0.004307916853576899,
-0.014783778227865696,
-0.01240786723792553,
-0.03662385791540146,
-0.010593476705253124,
0.0009731829632073641,
0.015840819105505943,
0.005918542854487896,
-0.034992750734090805,
0.0668681189417839,
0.07766442745923996,
0.025308014824986458,
... |
<p>My task is to determine which ones of these datasets given in the picture are suitable for k-means. My script says that k-means usually performs well on concave structures, however the sizes of the obvious clusters of case 1 differ very strongly, which would indicate a possible bad performance of k-means, right? </p... | g65983 | [
-0.019569171592593193,
0.03570117428898811,
0.004511165898293257,
-0.031445711851119995,
0.0014842174714431167,
-0.06087296083569527,
-0.012653297744691372,
-0.04910919442772865,
-0.014648588374257088,
0.0028649144805967808,
0.03639107197523117,
0.007170889526605606,
0.04780764505267143,
0... |
<p>I am implementing an image recognition program as an exercise but I am comfused in the following point.I have a data set M with dimensions $NxD$ where $N<<D$ so I have used dimension reduction to compute the eigen-decomposition of the covariance matrix $M'*M$ From this matrix I can't compute the eigen decompos... | g45865 | [
0.020822055637836456,
-0.038488514721393585,
0.0077832844108343124,
-0.08046459406614304,
-0.030607234686613083,
0.00867478083819151,
0.05398336797952652,
0.031214997172355652,
-0.03948764503002167,
0.0045783016830682755,
0.023290570825338364,
-0.007695355918258429,
0.047227054834365845,
0... |
<ul>
<li>From literature I have a theoretically proposed value for human performance in a particular task. </li>
<li>I want to experimentally measure performance in this task across a sample of humans and test whether the result I get is equivalent to the theoretical value. </li>
<li>It seems that a Single Sample Equiv... | g65984 | [
-0.021127475425601006,
0.011710860766470432,
-0.005753873847424984,
-0.07606834918260574,
-0.028467312455177307,
-0.03203791007399559,
0.013471788726747036,
0.06618113815784454,
-0.050688229501247406,
0.008081830106675625,
0.02043335512280464,
0.02704888954758644,
0.005785479210317135,
0.0... |
<p>I'm working on a question on 2-way ANOVA where there are 2 treatments and 1 blocking factor. The residual plots suggest unequal variance. What is another parametric or non-parametric alternative method to 2-way ANOVA?</p> | g65985 | [
0.02008785866200924,
-0.01016048714518547,
0.01270737498998642,
-0.0043306536972522736,
-0.06192924454808235,
0.03668246790766716,
0.014131803996860981,
-0.01656223088502884,
-0.0258700642734766,
-0.01580912433564663,
0.01654406450688839,
0.048111215233802795,
-0.013830755837261677,
0.0150... |
<pre><code>> ncvTest(alm)
Non-constant Variance Score Test
Variance formula: ~ fitted.values
Chisquare = 121.2316 Df = 1 p = 3.400245e-28
> spreadLevelPlot(alm)
Suggested power transformation: 4.428269
</code></pre>
<p>I am having issues adjusting my regression formula based on what the results of th... | g65986 | [
0.007534222677350044,
-0.03915629908442497,
-0.004951456096023321,
-0.02847118489444256,
0.026485856622457504,
-0.001115130726248026,
-0.0179714635014534,
0.028347425162792206,
-0.03320316597819328,
0.004766060039401054,
0.0007714951643720269,
0.04990444332361221,
-0.057812049984931946,
0.... |
<p>I am trying to learn basic probability and I would like to get the answer of the questions below. I honestly have no idea on how to even start solving it. Could someone show me or give me some advice on how to tackle it? </p>
<p>Wild lizards are found in a particular mountain range in Australia at an abundance of 1... | g65987 | [
0.037272609770298004,
0.02372211031615734,
0.001962646609172225,
-0.01612681895494461,
-0.0036889780312776566,
0.0044844201765954494,
-0.0009316070354543626,
0.021079877391457558,
0.01751614362001419,
-0.020200468599796295,
-0.015019625425338745,
0.0013382172910496593,
0.017782047390937805,
... |
<p>Google Website Optimizer (GWO) is a tool provided by Google to do <a href="http://en.wikipedia.org/wiki/A/B_testing" rel="nofollow">A/B</a> and <a href="http://en.wikipedia.org/wiki/Multivariate_testing" rel="nofollow">MVT</a> experiments on websites.</p>
<p>This has been an unanswered question for a long time so I... | g24834 | [
0.019800769165158272,
0.02883630245923996,
-0.015348684042692184,
-0.03314858302474022,
0.026494545862078667,
-0.08306970447301865,
0.05345691367983818,
0.000450362655101344,
-0.04956482723355293,
-0.04396799951791763,
-0.018096745014190674,
0.012380817905068398,
0.039588041603565216,
0.02... |
<p>I'm working on regression models in STATISTICA application and I need to know what is Fisher-Snedecor distribution for and how to analyze my regression model in this distribution. What the significance level means? What is v1 and v2? I need an explanation and little tutorial on real data.</p>
<p>Thanks in advance!<... | g65988 | [
0.014313414692878723,
-0.0034553103614598513,
-0.044460318982601166,
0.01891688071191311,
0.027237629517912865,
-0.01949615590274334,
0.030657602474093437,
0.06820018589496613,
-0.05339675396680832,
-0.02984069101512432,
-0.07921648025512695,
0.008951790630817413,
0.06775135546922684,
0.02... |
<p>I am having trouble using the Q-learning algorithm to solve the problem in the link below.</p>
<p><a href="http://math.stackexchange.com/questions/357397/how-do-i-use-q-learning-to-update-values">http://math.stackexchange.com/questions/357397/how-do-i-use-q-learning-to-update-values</a> </p>
<p>Any help would be a... | g35344 | [
-0.03202980011701584,
-0.003634707536548376,
0.004523418378084898,
-0.006319635082036257,
0.07173005491495132,
-0.023330286145210266,
0.010114898905158043,
-0.02114643156528473,
-0.03540315851569176,
0.01913873478770256,
-0.03950755298137665,
0.017954323440790176,
0.06572787463665009,
0.01... |
<p>I have $N$ paired observations ($X_i$, $Y_i$) drawn from a common unknown distribution, which has finite first and second moments, and is symmetric around the mean.</p>
<p>Let $\sigma_X$ the standard deviation of $X$ (unconditional on $Y$), and $\sigma_Y$ the same for Y. I would like to test the hypothesis </p>
<... | g65989 | [
0.0074814255349338055,
0.0010172781767323613,
-0.01499668788164854,
-0.029444880783557892,
0.024077903479337692,
-0.034489214420318604,
0.0002740714407991618,
-0.02204306796193123,
-0.0319758802652359,
-0.013023979030549526,
0.021856507286429405,
0.023189501836895943,
-0.012379082851111889,
... |
<p>I am taking a little data analysis course using SAS software and I need help with pretty much the basics.</p>
<p>There is <a href="http://www.amstat.org/publications/jse/datasets/fishcatch.txt" rel="nofollow">this</a> full description in the American Statistical Association page. </p>
<p>Basically I have the data ... | g13599 | [
0.004104555118829012,
-0.06873296946287155,
-0.0081330556422472,
-0.04452308267354965,
-0.007113765925168991,
-0.03615434467792511,
0.028115378692746162,
-0.011392910033464432,
-0.053602688014507294,
-0.014049950987100601,
0.0186147503554821,
0.03922046348452568,
0.08616221696138382,
0.028... |
<p>At hand, I only have the number of visits per minute for one web page (one day period), is it possible to generate the average session length of such page based on these numbers? Or and references I can check for related information?</p>
<p>Thank you in advance. </p> | g65990 | [
0.0031007896177470684,
0.0315328948199749,
-0.012789865955710411,
-0.03732777014374733,
-0.038413986563682556,
-0.04881099611520767,
0.011429060250520706,
-0.01252828910946846,
0.007396963890641928,
0.03936345502734184,
0.06404859572649002,
-0.02555195614695549,
0.006354084704071283,
0.051... |
<p>I recently presented a national test and the company in charge of preparing the test then does a standardization to provide the final scores for each person. These are the values they gave at the end of the page where the grades were posted:</p>
<pre><code>N = 259
Mean = 72
StdDev = 7
</code></pre>
<p>I don't reme... | g65991 | [
0.020263737067580223,
0.03540056571364403,
-0.026416296139359474,
-0.06522902846336365,
0.013193197548389435,
0.05318848043680191,
0.013150079175829887,
0.06595432758331299,
-0.01262008398771286,
-0.07314832508563995,
-0.05626732483506203,
-0.010947448201477528,
0.057584747672080994,
-0.00... |
<p>I just studied (again) some statements of the Durbin-Wu-Hausman (DWH) test.</p>
<p><strong>After I thought about the theory behind the DWH test, is it not basically kind of useless since I cannot tell if there's actually a problem regarding endogeneity or not?</strong></p>
<p>For completeness, the hypothesis of th... | g24838 | [
-0.0007275766110979021,
0.03702457994222641,
-0.012730476446449757,
-0.005362586118280888,
0.08470785617828369,
-0.029383981600403786,
-0.012729119509458542,
-0.029543640092015266,
0.012551293708384037,
-0.019090065732598305,
0.006953809410333633,
-0.023512257263064384,
-0.050364281982183456... |
<p>I am working my way through LDA and I think I got they main idea of it. Please correct me if I am wrong. Given the Plate notation:</p>
<p><img src="http://i.stack.imgur.com/8nzTh.png" alt="LDA model"></p>
<p>The variables $\alpha$ and $\beta$ are Dirichlet distribution parameters. The variable $Z_{d,n}$ assigns ob... | g65992 | [
0.04721482843160629,
-0.08073457330465317,
-0.02197122760117054,
-0.06525813043117523,
0.028744297102093697,
0.0005359043134376407,
0.012620160356163979,
0.05399157479405403,
-0.02407599613070488,
-0.05752857029438019,
-0.039420634508132935,
0.04294534772634506,
0.057098060846328735,
0.056... |
<p>I am new to sequence analysis and wondering whether TraMineR can calculate Elzinga's turbulence and similarity index or I should learn to use his CHESA software to do this? I appreciate any thoughts as I learn to do sequence analysis.</p> | g40580 | [
-0.01195095106959343,
-0.0028987235855311155,
0.01746918261051178,
-0.012594535015523434,
0.0008602983434684575,
-0.029512550681829453,
0.0418652780354023,
0.021436374634504318,
-0.018306834623217583,
0.004971126560121775,
-0.06635209172964096,
0.006232942454516888,
0.05737987533211708,
-0... |
<p>I'm doing my regression using Apache's <a href="http://commons.apache.org/math/apidocs/org/apache/commons/math/stat/regression/OLSMultipleLinearRegression.html" rel="nofollow">OLSMultipleLinearRegression class</a>. </p>
<p>How do I get the p-value? Is there another name for p-value that I should be looking for in... | g65993 | [
0.016282083466649055,
0.032528240233659744,
-0.03161047771573067,
-0.04072405770421028,
0.05572700873017311,
-0.0501478873193264,
0.0013648014282807708,
-0.0032717701978981495,
-0.012532960623502731,
-0.059798430651426315,
0.010349346324801445,
-0.008671494200825691,
0.09927091002464294,
0... |
<p>Let us assume the following data generating process: </p>
<p>(1) $ \ \ y = X\beta + u$ </p>
<p>where $y$ and $u$ are $n\times 1$ vectors, $X$ is a $n\times k$-matrix with $rk(X)=k$ and $\beta$ is a $k\times 1$-vector of coefficients. For the OLS-estimator to be unbiased we need to assume that the conditional expec... | g65994 | [
-0.0031285551376640797,
-0.014870879240334034,
-0.015891050919890404,
-0.015968332067131996,
0.046948544681072235,
0.0049786376766860485,
0.0381629541516304,
0.05055608972907066,
-0.053464580327272415,
-0.013698128052055836,
-0.04225977137684822,
0.023682044818997383,
0.001404494745656848,
... |
<p>I have been working on a baseball model to predict success at the major league level using minor league statistics. After posting multiple threads on this site (<a href="http://stats.stackexchange.com/questions/61217/transforming-variables-for-multiple-regression-in-r">1</a>, <a href="http://stats.stackexchange.com/... | g65995 | [
-0.02876107580959797,
-0.039044514298439026,
-0.010195735841989517,
-0.024951761588454247,
-0.05966591089963913,
-0.00659004133194685,
0.047321997582912445,
-0.010855440981686115,
-0.024266431108117104,
-0.014080463908612728,
-0.0046558924950659275,
0.037536755204200745,
0.0166935957968235,
... |
<p>I read a lot on the web, but I am still not sure whether I understood completely when we standardize the data (so that it is zero mean unit variance). So, let's say that I have a set of genes and expression levels of those genes among different cancer patients, and I want to cluster the genes into pathways using exp... | g5877 | [
0.026918528601527214,
0.006726336199790239,
0.003017975715920329,
-0.046824146062135696,
0.010751975700259209,
-0.0417880155146122,
0.01887078583240509,
0.06674846261739731,
-0.02517593279480934,
-0.02706516720354557,
0.014012428000569344,
0.05333631485700607,
-0.013002468273043633,
-0.050... |
<p>After weeks of reading and trying I decided to post my question here because I could not find a convincing solution.
I radio tracked two animals for several months and now I want to find out 1) what influences the activity of the animals and 2) when (hour after sunset) they are showing the highest activity and 3) wh... | g65996 | [
-0.023382781073451042,
-0.09164710342884064,
0.0003706884162966162,
-0.026684952899813652,
-0.010457593016326427,
0.013289231806993484,
0.07767557352781296,
-0.03472420573234558,
-0.03736557438969612,
-0.030445454642176628,
-0.03585300222039223,
0.04171692579984665,
0.03334519639611244,
-0... |
<p>I want to select models using <code>regsubsets()</code>. I have a dataframe called olympiadaten (data uploaded: <a href="http://www.sendspace.com/file/8e27d0">http://www.sendspace.com/file/8e27d0</a>). I first attach this dataframe and then start to analyze, my code is:</p>
<pre><code>attach(olympiadaten)
library(... | g65997 | [
0.016077404841780663,
-0.015844624489545822,
-0.004994888789951801,
-0.07351269572973251,
0.058031175285577774,
-0.022802038118243217,
0.048431869596242905,
0.007141503505408764,
-0.02753838151693344,
-0.010102343745529652,
-0.013385613448917866,
0.029095711186528206,
0.0426296591758728,
0... |
<p>I’ve got the following variables:</p>
<p>Response: number of quota units leased (in and out) by fishers.</p>
<p>Explanatory: number of quota units own by fishers.</p>
<p>I fitted a GLM (Poisson), but I’m not totally sure if it’s right, considering that the explanatory variable is count as well. I’ve found example... | g46258 | [
-0.0019255682127550244,
0.006410808302462101,
-0.016056586056947708,
-0.04275420680642128,
0.012368882074952126,
-0.011675380170345306,
-0.038079358637332916,
0.039085570722818375,
-0.02617180161178112,
0.0045489962212741375,
-0.03298788145184517,
0.018605809658765793,
-0.020553652197122574,... |
<p>I've always wondered how good a 'fit' is the Poisson distribution to the events we observe in reality. Almost always I've seen it be used for modeling occurrence of events. (For example, arrival of cars in a parking garage or the number or messages sent/received by computers hosts on a network etc.)</p>
<p>We usual... | g65998 | [
-0.0016194905620068312,
0.013713419437408447,
-0.0032965412829071283,
-0.05789203941822052,
-0.0016959873028099537,
-0.011404243297874928,
0.0007945687393657863,
0.0613369382917881,
-0.04166719317436218,
-0.04809103533625603,
0.0072309100069105625,
-0.0984809547662735,
0.0422772616147995,
... |
<p>I study Electronics & Communication Engineering. I like Computer Sciences. Out of pure passion, I even studied few programming languages like Java, Python etc</p>
<p>I studied probability, math, computer architecture, Java, C at college.</p>
<p>I think Machine Learning, NLP etc stuff are fun for me. I never st... | g24850 | [
-0.0995725467801094,
0.04912002012133598,
0.025559835135936737,
-0.033984776586294174,
-0.0059790415689349174,
0.047636546194553375,
-0.025029821321368217,
0.021483682096004486,
-0.016088200733065605,
-0.013943078927695751,
0.006775474641472101,
0.0238412506878376,
0.01819140650331974,
0.0... |
<p>The question is rather theoretical than practical.
Suppose, we want to evaluate one's chances of non-paying back a loan.
We assume, that these chances depend on some set of covariates. One of the covariates is first two digits of ZIP code, let's call it zip2.</p>
<p>We have a set of observations (loans) for some pe... | g65999 | [
-0.01583368517458439,
-0.0017131015192717314,
-0.024797018617391586,
-0.029681002721190453,
0.024864643812179565,
-0.03452134504914284,
0.01431296207010746,
-0.04049229994416237,
-0.042483311146497726,
-0.01942184753715992,
0.047580182552337646,
0.03905567526817322,
0.04543735086917877,
0.... |
<p>I want to extract the predicted values from a gamm() whose coefficients have been averaged using the package MuMIn, but I'm getting an error.</p>
<pre><code>library(mgcv)
library(MuMIn)
set.seed(0)
dat <- gamSim(6, n = 100, scale = 5, dist = "normal")
fmm1 <- uGamm(y ~s(x0)+ s(x3) + s(x2), family = gaussian, ... | g66000 | [
-0.009346835315227509,
-0.04966246709227562,
0.01235115248709917,
-0.06018981337547302,
0.012886635959148407,
-0.04736979678273201,
0.040410712361335754,
0.017662713304162025,
-0.017269160598516464,
-0.023925768211483955,
-0.02270200289785862,
0.010027355514466763,
0.07407452166080475,
0.0... |
<p>I have the following output from a logistic regression model.</p>
<pre><code>Coefficients:
Estimate Std. Error z value Pr(>|z|)
(Intercept) -2.6023448 0.0694696 -37.460 < 2e-16 ***
our_bid 0.0039520 0.0007646 5.169 2.35e-07 ***
our_bid:z... | g66001 | [
-0.027015840634703636,
-0.05523943156003952,
0.002619061851873994,
-0.024616649374365807,
0.035987041890621185,
-0.04219871014356613,
0.07039407640695572,
0.026881759986281395,
-0.050050683319568634,
-0.01061528641730547,
-0.026206865906715393,
0.031526390463113785,
0.06445086747407913,
-0... |
<p>I am attempting to find the P-value of a hypothesis test, which compares the success rate of two procedures. A test with 0.05 level of significance is conducted to test the success rate of two procedures.</p>
<p><strong>Procedure A</strong>
Sample Size: 200,
Number of Success: 125</p>
<p><strong>Procedure B</stron... | g23250 | [
0.0023443824611604214,
-0.013428431935608387,
-0.017830250784754753,
-0.021086912602186203,
0.00817438866943121,
-0.02962442860007286,
0.029631955549120903,
0.003244290128350258,
-0.010166565887629986,
-0.020635399967432022,
0.041720833629369736,
-0.0062697273679077625,
0.04773079976439476,
... |
<p>I want to measure the subject's response to 30 stimulus. I'm thinking of paired comparison, but this experiment will be impossible to perform (need C(30,2)=435 comparison steps). The reason of using paired comparison is its accuracy (as opposed to simply ranking)</p>
<p>What are my other alternative options? Can I ... | g66002 | [
-0.005390462931245565,
-0.03831293061375618,
-0.011088775470852852,
-0.10937400162220001,
-0.01817849837243557,
0.021258337423205376,
0.04533443972468376,
-0.026081668213009834,
0.016816720366477966,
-0.06030208244919777,
0.003536976408213377,
0.005903192330151796,
-0.017048338428139687,
0... |
<p>When I work on data analysis projects I often store data in comma or tab-delimited (CSV, TSV) data files. While data often belongs in a dedicated database management system.
For many of my applications, this would be overdoing things.</p>
<p>I can edit CSV and TSV files in Excel (or presumably another Spreadsheet ... | g66003 | [
0.02170688286423683,
-0.0088828569278121,
0.002464965218678117,
-0.021099494770169258,
0.0021116952411830425,
-0.017644235864281654,
-0.014099791646003723,
0.07438210397958755,
-0.03478625416755676,
-0.040598850697278976,
0.03244907036423683,
-0.0331762321293354,
0.06685569137334824,
-0.01... |
<p>Say I have a database of around a million words, and I want to get an intuitive idea about exactly how a particular, quite infrequent, word is distributed throughout this data. My goal is to be able to see clearly whether this word tends to cluster together, or whether it is relatively evenly spaced. What would be s... | g47977 | [
0.031385358422994614,
0.020025460049510002,
-0.011821436695754528,
-0.09002666175365448,
-0.04926246032118797,
-0.05319604277610779,
0.03144609183073044,
0.05993945896625519,
0.00435652444139123,
-0.00046520523028448224,
0.04696157947182655,
-0.02666330337524414,
0.07173710316419601,
0.037... |
<p>I am regressing two butterfly richness variables (summer and winter)
against a set of environmental variables separately.
(variables with continuous numbers)
Environmental variables are identitcal in each model.</p>
<p>In the summer model,
the weight rank of coefficients is
temp > prec > ndvi.</p>
<p>The weight ... | g66004 | [
0.017763884738087654,
-0.06596929579973221,
-0.03396734967827797,
-0.025639677420258522,
0.01879309117794037,
0.012982387095689774,
0.048354372382164,
0.009976866655051708,
0.027870452031493187,
-0.0009786984883248806,
-0.004494290798902512,
0.0610206164419651,
0.04333388805389404,
-0.0097... |
<p>In multiple linear regression, I can understand the correlations between residual and predictors are zero, but what is the expected correlation between residual and the criterion variable? Should it expected to be zero or highly correlated? What's the meaning of that?</p> | g49769 | [
0.044257137924432755,
-0.06784775853157043,
-0.010463009588420391,
0.008084094151854515,
-0.013532698154449463,
0.026728231459856033,
0.010450521484017372,
0.08594920486211777,
-0.046875882893800735,
-0.07991161942481995,
-0.02132348157465458,
0.00754077872261405,
0.008225283585488796,
-0.... |
<p>I want to calculate a summary of a variable in a data.frame for each unique combination of factors in the data.frame. Should I use plyr to do this? I am ok with using loops as opposed to apply() ; so just finding out each unique combination would be enough.</p> | g37691 | [
0.008359483443200588,
0.003164614550769329,
0.008493981324136257,
-0.05484890565276146,
0.013591183349490166,
-0.08435413986444473,
0.015066266991198063,
0.009072743356227875,
-0.035807132720947266,
-0.035623788833618164,
-0.00037517177406698465,
0.028217116370797157,
-0.024413716048002243,
... |
<p>I am wondering if there are any packages for python that is capable of performing survival analysis. I have been using the survival package in R but would like to port my work to python. </p> | g66005 | [
-0.018698936328291893,
-0.08087059110403061,
0.034840185195207596,
-0.011684690602123737,
-0.04933434724807739,
-0.011645497754216194,
-0.03207365795969963,
0.025846436619758606,
-0.03989151492714882,
0.022013992071151733,
0.01165319886058569,
0.00047497820924036205,
0.004404332954436541,
... |
<p>I'm a clinical researcher and I am comparing children who had fluid in the abdomen (ascites due to liver disease). I have 4 groups based on the kind of fluid analysis and in each group I have incidence of renal failure, bleed, altered sensorium, etc. </p>
<p>How should I compare these groups? Should I do multiple ... | g45030 | [
-0.003412947990000248,
-0.041157595813274384,
0.009670046158134937,
-0.06565812975168228,
0.008898571133613586,
-0.03909623622894287,
0.00956147350370884,
-0.005902269389480352,
0.007393541280180216,
-0.02957173064351082,
0.04983782023191452,
-0.02670314721763134,
0.042304039001464844,
0.0... |
<p>I am working on R, and have multiple data.frames. They all look like this one:</p>
<pre><code> head(Stim.Adjs)
LogFreq Word PhonCV FreqDev LengthDev
6316 2.673 enkele VC-CV-CV -0.1794029 -1.0608453
12638 2.415 laatste CVVC-CCV -0.2207496 -0.7113483
12639 2.415 laatste CVVC-CCV -0.2207496 -0.7... | g66006 | [
0.006638608872890472,
-0.038481704890728,
0.005713446997106075,
-0.0682670995593071,
-0.0338163785636425,
-0.040694765746593475,
0.014936538413167,
-0.013673217967152596,
-0.04201306775212288,
0.005250010173767805,
-0.041942838579416275,
0.005693221930414438,
-0.043489761650562286,
0.02299... |
<p>I have a dataset with two classes, A and B, and an independent variable x. Class B is a minority class with only 1% of the observations, which tend to occur with small values of x. I am interested in the relative densities for the classes, which I would like to visualize in R.</p>
<p>In my imagination, I would use ... | g66007 | [
-0.011071737855672836,
0.01746157370507717,
-0.021228857338428497,
-0.06259862333536148,
-0.03707239404320717,
-0.01819564402103424,
0.009722361341118813,
-0.016402166336774826,
-0.04526859521865845,
-0.04603944346308708,
0.08433817327022552,
0.02372613735496998,
0.06830240041017532,
0.009... |
<p>The gamma distribution is a commonly used prior distribution for the precision ($1/sd^2$) of a normal distribution in Bayesian hierarchical modeling. I want to use an informed prior for the variance and I ask an expert on the data I'm trying to model. An easy way of describing earlier knowledge about the variance of... | g24860 | [
0.01350414752960205,
-0.015951892361044884,
0.0004840852052439004,
-0.05257399007678032,
0.006940132938325405,
-0.016950486227869987,
0.00696967076510191,
-0.002164321718737483,
-0.03131099045276642,
-0.038281966000795364,
0.006615408696234226,
-0.0043103452771902084,
0.029268503189086914,
... |
<p>I have a deterministic signal comming from an experiment:</p>
<p>x1[n]=[2,3,2,4,1,4] as a <strong>set</strong>={1,2,3,4} histogram={1/6,2/6,1/6,2/6}</p>
<p>what does the histogram(number of occurrence of each value) mean in the case of a deterministic signal such as X1[n]? It's not the probability density functi... | g24861 | [
-0.033250607550144196,
0.037933699786663055,
-0.006106236483901739,
-0.07782447338104248,
0.051669031381607056,
-0.01973891444504261,
0.014189622364938259,
0.034990549087524414,
-0.050155360251665115,
-0.06995192170143127,
-0.06608466058969498,
0.04081346094608307,
0.049036718904972076,
0.... |
<p>I faced an estimation problem of compute the mean of a random variable (rv) $X$. What I know is the coefficient of variation of this rv, namely its standard deviation divided by its mean:
$$c_{v}(X) = {\sigma_{x}\over \mu_{x}}$$
Surely, I know that the more samples I have, the more accurate my estimation of $\mu$, b... | g66008 | [
-0.04875528812408447,
-0.007332197856158018,
-0.016442865133285522,
-0.01468227431178093,
-0.02398945391178131,
-0.09033160656690598,
0.03336045518517494,
-0.012675628066062927,
-0.02029293403029442,
0.005841047968715429,
-0.024453449994325638,
0.02973451092839241,
-0.019726218655705452,
0... |
<p>I've got an algorithm which assigns a score to a list of individuals (nodes). I want to discover which nodes received a statistically significant score. So I "randomized" the algorithm in order to obtain 100 random rankings of the same individuals. Now I've got my 100 rankings (Original + 100 Random). How can I chec... | g66009 | [
0.04190835729241371,
-0.01632242277264595,
-0.022241298109292984,
-0.05647601559758186,
0.005515445489436388,
-0.021952422335743904,
-0.017775723710656166,
0.050954025238752365,
-0.008724726736545563,
-0.024903111159801483,
0.0040855868719518185,
0.05475463718175888,
0.07390295714139938,
-... |
<p>I have been working with data and building models on data. I have developed models in regression using cubic and power series. It works fine for variables with one dependent and one independent variable.</p>
<p>What kind of technique is to be adopted if I have to find an equation or model for say, D depends on C, C... | g66010 | [
0.04156581684947014,
-0.06292308121919632,
-0.02164703607559204,
-0.01996763050556183,
0.012849000282585621,
-0.0034469938836991787,
0.01085577066987753,
-0.010252279229462147,
-0.04556914418935776,
-0.08868438750505447,
-0.006560901179909706,
-0.009151535108685493,
0.04503452405333519,
-0... |
<p>Does anyone know the formula to convert a z-score to a percentile rank instead of using the z-score table? I searched the website, but did not find the formula.</p>
<p>thank you</p> | g49715 | [
0.011263414286077023,
0.03485286980867386,
-0.010582230985164642,
-0.03419677913188934,
-0.01306115835905075,
-0.045688193291425705,
0.02045482210814953,
0.015930095687508583,
0.001308740465901792,
0.03336446359753609,
0.04854847490787506,
0.027911391109228134,
0.039419423788785934,
-0.018... |
<h3>Context:</h3>
<p>I am doing a study on lying.</p>
<ul>
<li>The independent variable was manipulated such that participants were either told to <strong>lie</strong> or <strong>tell the truth</strong>.</li>
<li>The dependent variable is related to the amount of detail provided and is extracted from the text provide... | g66011 | [
0.03114790841937065,
-0.000361216050805524,
-0.006001836154609919,
-0.07846812158823013,
-0.03367341682314873,
0.02773350290954113,
0.04769090190529823,
0.06736692041158676,
-0.013327385298907757,
0.036357663571834564,
0.025669753551483154,
-0.041895270347595215,
-0.06027171388268471,
0.05... |
<p>Is it possible to graph this? I tried doing it on a calculator but didn't have any success. If someone can and post the graph I would greatly appreciate it.</p>
<p>$$\frac{1}{\bar{m}_{T}}\sqrt{\frac{1}{12} \sum_{h=T-11}^{T} (m_{h} - \bar{m}_{T})^2}.$$</p>
<p>If the equation is hard to read, it is just the standa... | g45042 | [
-0.04030467942357063,
0.06496260315179825,
-0.023421403020620346,
-0.03726514056324959,
-0.01576424576342106,
-0.050422776490449905,
0.03537172079086304,
0.017361672595143318,
-0.04225859045982361,
0.010352220386266708,
0.0385592095553875,
0.0017898076912388206,
0.05303496494889259,
-0.010... |
<p>I have data like this :</p>
<pre><code> year nb
1 1901 208
2 1902 200
3 1903 223
4 1904 215
5 1905 187
6 1906 214
</code></pre>
<p>And I want to specify levels, such that I can summarize the data this way :</p>
<pre><code> years nb
1 1901-1910 2082
2 1911-1920 ... | g66012 | [
-0.03960330784320831,
0.05534793436527252,
-0.01831396482884884,
-0.0866742730140686,
-0.0010850088438019156,
-0.02021230012178421,
0.0220191553235054,
-0.003422956448048353,
-0.06997095048427582,
-0.0033558488357812166,
-0.04013616219162941,
-0.0036253195721656084,
0.054572492837905884,
0... |
<p>I have a data set of code patches and the bugs they produce. I'm using ordinary least squares to find a line which predicts bugs based on some attributes about the patch, such as the department which produced the code, how many issues were found in design, etc.</p>
<p>One thing is that the patches vary in size, and... | g24866 | [
0.049696072936058044,
-0.03066393733024597,
-0.02695649117231369,
-0.12905117869377136,
-0.03849594667553902,
-0.0467272587120533,
-0.0230422206223011,
-0.03467439115047455,
-0.01811683550477028,
-0.060321465134620667,
0.055634453892707825,
0.025408899411559105,
0.06199552118778229,
0.0430... |
<p>A song has a total of 1,000 plays, and on average only 50% of the song was played (say a song is 4 mins long and on average listeners only listen to half the song). </p>
<p>What other data can we interpret from the numbers above? I'm trying to estimate how many of the 1,000 plays actually listened to the whole song... | g24867 | [
-0.00676498981192708,
-0.014247817918658257,
-0.009849621914327145,
-0.0515257865190506,
0.007460210006684065,
-0.015808627009391785,
0.07868263125419617,
-0.01441138330847025,
0.024266164749860764,
-0.010157343931496143,
-0.052112288773059845,
-0.0023562053684145212,
0.011370227672159672,
... |
<p>I am looking to use a mathematical model developed by Firbank & Watkinson (1985) J. App. Ecol. 22:503-517 for the analysis of competition between plants grown in mixture.</p>
<p>The model is as follows:</p>
<p>$$W_{A}=W_{mA}\left(1 + a_{A}\left(N_{A}+\alpha N_{B}\right)\right)^{-b_{A}}$$</p>
<p>where $W_{A}$ ... | g34860 | [
-0.024942653253674507,
-0.05094496160745621,
-0.005703885108232498,
0.0009836533572524786,
-0.050123799592256546,
-0.017229342833161354,
0.0719311535358429,
-0.035585805773735046,
-0.013029607012867928,
0.013748961500823498,
-0.002660362748429179,
-0.0004675241943914443,
0.009600354358553886... |
<p>I generate the IMA(1,1) process in R to see ACF for different values of Theta. The graphs show that ACF is always positive for both positive and negative values of Theta, is it correct or I'm wrong somewhere?</p>
<pre><code>theta <- 0.9
d <- ts(matrix(0,ncol=1,nrow=100))
e <- ts(rnorm(100,0,1))
d[1] <- ... | g66013 | [
0.015943266451358795,
-0.014967596158385277,
-0.011727421544492245,
-0.01881733350455761,
0.06811649352312088,
-0.057081934064626694,
0.09513174742460251,
0.012095358222723007,
-0.03916814550757408,
0.004247172735631466,
0.0020768423564732075,
0.0695166066288948,
0.047435298562049866,
0.00... |
<p>I am looking for some text book type of explanation how the Marketing Mix Modelling works, and what Statistical tools are used in doing the same.</p>
<p>Hands on examples with explanation would really be good.</p>
<p>Does anyone come up with any text book on this subject? It would be really helpful if people can s... | g66014 | [
0.00702187092974782,
0.012203063815832138,
-0.007318040821701288,
0.017445601522922516,
0.009428782388567924,
0.019768856465816498,
-0.013277293182909489,
0.040115807205438614,
0.025323808193206787,
-0.009608738124370575,
0.04384445399045944,
-0.04422762989997864,
0.09063007682561874,
0.00... |
<p>Below I'm using a negative binomial because it is more flexible than a simple poisson model. The data are counts $y$ of events for 16 individuals $x$. There are 14 counts (i.e. counting periods) for each individual.</p>
<p>The likelihood function is <code>dnegbin</code>($p_x , r_x)$ with a separate $p$ and $r$ for ... | g66015 | [
0.004594443365931511,
-0.040373295545578,
0.014903085306286812,
-0.04628359153866768,
0.01850465126335621,
0.0095464326441288,
0.010936785489320755,
-0.012361682951450348,
-0.05696168541908264,
0.0014967115130275488,
-0.014315055683255196,
0.020240696147084236,
0.0182486604899168,
-0.02958... |
<p>I am trying to build an SVM from training data where one group is represented more than the other. However, the groups will be equally represented in the eventual test data. Therefore, I'd like to use the <code>class.weights</code> parameter of the <code>e1071</code> R package interface to <code>libsvm</code> to bal... | g66016 | [
0.009579703211784363,
-0.03696611896157265,
-0.003794369287788868,
-0.017356377094984055,
0.036130961030721664,
0.023078083992004395,
0.0013740397989749908,
0.058515336364507675,
-0.04376775026321411,
-0.025234295055270195,
0.021954884752631187,
0.005503339227288961,
0.037361741065979004,
... |
<p>Suppose that N circles are dropped randomly onto a square in 2-space in such a way that the center of each circle
lands somewhere in the square – even if some of the circle extends beyond the boundary of the square. The side of the
square is of length S, where S is an integer. Each circle has a real number radius R,... | g45049 | [
0.034180719405412674,
0.026030102744698524,
-0.008154798299074173,
-0.0574321523308754,
-0.04499393701553345,
0.016153069213032722,
0.04229949787259102,
-0.012298258021473885,
0.023472456261515617,
-0.035059645771980286,
-0.04267823323607445,
0.009957593865692616,
0.017820904031395912,
0.0... |
<p>I have to use the datasets on <a href="http://www.bristol.ac.uk/cmm/learning/support/datasets/" rel="nofollow">http://www.bristol.ac.uk/cmm/learning/support/datasets/</a>.
And I found every data set on this website has a ws. file. I try to download software which can open it and I can get the data. But I do not find... | g66017 | [
-0.031810659915208817,
-0.03535647317767143,
0.003923303913325071,
-0.09871143847703934,
-0.031130408868193626,
-0.015767673030495644,
0.012262864038348198,
0.010755219496786594,
0.015409688465297222,
-0.051718566566705704,
0.0022334903478622437,
-0.027400359511375427,
0.020916949957609177,
... |
<p>I have a categorical response (ordinal, lets call it A) collected from a complete randomized block design experiment where the explanatory variable is treatment. How do I account for the between block variation? I have found models that do this for dichotomous response variables but my response has >2 levels, treatm... | g66018 | [
-0.02800138294696808,
-0.0226421058177948,
-0.015287271700799465,
-0.025920717045664787,
0.05034935474395752,
-0.044393569231033325,
0.024404237046837807,
0.032180774956941605,
-0.01671479642391205,
-0.01716165617108345,
-0.0035873064771294594,
0.03112855553627014,
0.05301631987094879,
0.0... |
<p>I am imagining a situation in which I have individual patient survival data from a number of clinical trials of a particular drug. The drug can be used for a wide variety of cancers which have significantly heterogeneous survival distributions, but suppose that a Weibull or generalised gamma distribution would be an... | g66019 | [
-0.026872100308537483,
-0.03674333915114403,
-0.016686338931322098,
-0.057716693729162216,
-0.001054756692610681,
-0.008225936442613602,
0.01625754125416279,
-0.002911329036578536,
-0.05720268934965134,
0.03935413435101509,
0.035666774958372116,
0.003411719109863043,
0.042423076927661896,
... |
<p>I want to know how to get several performance measurements of a generated WEKA model. Note that I am predicting a two-class variable, <code>Alive</code> or <code>Dead</code> and I use the developer version <code>3.7.10</code> in my own Java project.</p>
<ul>
<li><p>Confusion matrix</p>
<p>I know this is a simple q... | g66020 | [
-0.009570521302521229,
-0.06310786306858063,
-0.0007167355506680906,
-0.07865676283836365,
0.08043092489242554,
-0.03518352657556534,
0.072027787566185,
0.010105525143444538,
-0.03820795938372612,
-0.015413903631269932,
-0.014524436555802822,
0.056475378572940826,
0.05152790993452072,
0.03... |
<p>I have a large survey dataset (~150k individuals) on which I used IVEware to impute missing data. Most of the variables missing data are missing very small percentages of data (<5%). However, many time these missing values are on different cases, so complete case analysis would result in dropping a far greater ... | g66021 | [
0.03628983348608017,
-0.05153970792889595,
0.014966513961553574,
-0.05799730122089386,
-0.03135332465171814,
0.056032244116067886,
0.040265388786792755,
-0.009519441984593868,
-0.026911955326795578,
0.002485833363607526,
0.0040939184837043285,
-0.006210146937519312,
-0.05547039210796356,
0... |
<p>I am trying to use PCA to remove the correlation in my dataset
My correlation matrix is being reported as non positive definitive</p>
<p>As I understand it a NPD report means that my transposed matrix does not contain all positive eigenvalues values. (i know what eigenvalues represent, but not how they are calculat... | g66022 | [
0.06422507017850876,
-0.06273624300956726,
0.015957480296492577,
-0.08262689411640167,
0.02207515388727188,
-0.04886358976364136,
0.08824315667152405,
0.02534818835556507,
0.019489744678139687,
-0.007121217902749777,
0.009859221056103706,
-0.034274451434612274,
-0.013296826742589474,
0.059... |
<p>In a matrix with user ratings I want to calculate similarities between the first ten users and the rest of the users. I use the method "jaccard" for the similarity calculation in recommenderlab.</p>
<p>My matrix looks like this:</p>
<pre><code> users v1 v2 v3 v4 v5
1 1 0 1 0 0 1
2 2 0 1 0 0 1... | g753 | [
0.02883174642920494,
0.0008246581419371068,
0.015914855524897575,
-0.052481405436992645,
0.04842618480324745,
-0.04565862938761711,
0.018478188663721085,
0.01584024727344513,
-0.08336322754621506,
-0.010363435372710228,
0.0025447942316532135,
0.05947063863277435,
0.037259604781866074,
0.04... |
<p>Here is a toy-example, where '0_1' looks better than 'norm'. Using 'norm'(z-scores) has a huge training error and almost constant prediction.</p>
<pre><code>library(RSNNS)
x <- runif(1020, 1, 5000)
y <- sqrt(x)
#0_1 type
x.01 <- normalizeData(x, type='0_1')
y.01 <- normalizeData(y, type='0_1')
model.01 ... | g66023 | [
-0.024664677679538727,
-0.003872193628922105,
0.03012426197528839,
-0.006201412994414568,
0.013660630211234093,
-0.04106392711400986,
0.06429088860750198,
0.05607948079705238,
-0.022261295467615128,
-0.04007434844970703,
0.0017868668073788285,
0.026466604322195053,
0.024260476231575012,
-0... |
<p>When you construct a biplot for your PCA-analysis, you have comp.1 on the x-as and comp.2 on the y-as. But what are the other two axes to the right and the top of the screen?</p> | g24878 | [
0.017792342230677605,
-0.02200736664235592,
0.0038098625373095274,
-0.04037526249885559,
0.022869756445288658,
-0.05988115444779396,
0.09129070490598679,
-0.0008427683496847749,
-0.012479637749493122,
-0.01972913183271885,
0.003349188482388854,
0.02213672734797001,
0.024030180647969246,
-0... |
<p>I need to take the output parameters from an ARIMA model fitted in R from the following set (1,0,1), (0,1,0), (1,1,0), (0,1,1), (1,1,1) of models and implement the prediction function in C. I DO NOT HAVE THE OPTION of calling predict or any other R package for that step. </p>
<p>Obviously, I can eventually track do... | g24879 | [
0.00952442828565836,
-0.06424446403980255,
-0.007010599598288536,
-0.03127600625157356,
-0.05484629422426224,
-0.06963198632001877,
0.03230777010321617,
0.007509040180593729,
-0.040765855461359024,
0.02929317206144333,
-0.0015121247852221131,
0.026930542662739754,
0.07082661241292953,
-0.0... |
<p>When reading <a href="http://research.microsoft.com/en-us/um/people/minka/papers/ep/minka-ep-tut-slides.pdf" rel="nofollow">a presentation</a> on "expectation propagation," I found a strange formula for computing $\text{E}[X]$ from a conditional probability:</p>
<p>$$\text{E}[X] = \frac{\int x P(y_i|x) dx}{\int P(y... | g66024 | [
0.01587718166410923,
0.00617854343727231,
-0.016626978293061256,
-0.040879540145397186,
-0.053002823144197464,
-0.01624273508787155,
0.02134086936712265,
0.05381041392683983,
-0.054513249546289444,
-0.06167731061577797,
-0.030615314841270447,
0.032967884093523026,
0.07034453749656677,
-0.0... |
<p>I have conducted an empirical study as part of my master thesis. I have developed a software tool where cards can be sorted (affinity diagram) and in the study each test subject did a number of sorting tasks, to examine how the digital search feature improved completion time in sorting tasks. I am wondering if a Two... | g66025 | [
-0.03228557109832764,
0.029436632990837097,
-0.0027556095737963915,
-0.07644455134868622,
-0.04292293265461922,
-0.04140383377671242,
0.017715783789753914,
-0.04492009058594704,
-0.06495755165815353,
-0.014630405232310295,
-0.007671072613447905,
-0.010146207176148891,
0.0268949456512928,
0... |
<p>let $a$ be the number of treatments.</p>
<p>In Randomized Complete Block Design(RCBD), degrees of freedom due to treatment is $(a-1) $
.</p>
<p>let $k$ be the number of treatments exactly in each block in a Balanced Incomplete Block Design(BIBD).</p>
<p>In BIBD, Adjusted Mean Square due to treatment is given by... | g66026 | [
0.04484623298048973,
-0.024575158953666687,
-0.018635982647538185,
-0.014792336151003838,
0.04898124188184738,
-0.032150253653526306,
0.046063777059316635,
0.0807371661067009,
0.0351003035902977,
0.011748731136322021,
-0.006894147954881191,
0.017232485115528107,
-0.00012232150766067207,
0.... |
<p>Tissue samples were taken from 4 differention locations and repeatedly measured. This was done identically for 3 animals. The research question was: Are there differences in measurement between the locations?</p>
<p>=> Repeated-measures design, with location as within-subjects factor</p>
<pre><code>m1 <- lmer(m... | g66027 | [
-0.01949947699904442,
-0.0716344490647316,
-0.0063913906924426556,
-0.035761747509241104,
-0.054895609617233276,
0.01578545942902565,
0.01286663580685854,
0.04749347269535065,
-0.023524582386016846,
-0.002230255864560604,
-0.010312911123037338,
0.027493569999933243,
0.007458246313035488,
-... |
<p>Is feature selection and training on the same sample a bad idea?
I want to emphasize that I am not going to use test set for feature selection.</p>
<p>If I use the whole train set for feature selection and then for training the model then the training sample is larger.
Any drawbacks of such approach?</p> | g66028 | [
-0.03733646124601364,
-0.003557860851287842,
0.0349203459918499,
-0.012734384275972843,
-0.018651500344276428,
-0.027496131137013435,
0.03632156178355217,
0.020328527316451073,
-0.04632573202252388,
-0.03310525044798851,
0.017671026289463043,
-0.011631904169917107,
0.020471781492233276,
0.... |
<p>I am puzzled with how I should analyze the following data:</p>
<p>The dependent variable is respiratory sinus arrhythmia, a measure of parasympathetic activity (RSA). I have a $5\times5$ full factorial design: There are 5 levels of imposed breathing and 5 different moments in time. There are two groups (males and f... | g24883 | [
0.053314272314310074,
-0.05659036338329315,
-0.00994454137980938,
0.006449178792536259,
-0.027459321543574333,
-0.012587539851665497,
0.046945132315158844,
-0.009631511755287647,
-0.011309071443974972,
-0.04998208209872246,
0.023123107850551605,
0.00285611511208117,
0.026980599388480186,
0... |
<p>Suppose I have some function $f$ fulfilling some reasonable conditions like continuity. I know the exact values of $f$ (because the data comes from a simulation) at some equidistant sampling points $t_i=t_0 + iΔt$, which I can assume to be sufficiently fine to capture all relevant aspects of $f$, e.g., all local ext... | g66029 | [
0.024069689214229584,
-0.015315848402678967,
0.01856721006333828,
-0.04696932062506676,
-0.01828101836144924,
-0.04153493419289589,
0.02314518764615059,
-0.028532683849334717,
-0.026285115629434586,
0.0016926287207752466,
0.02828039973974228,
-0.015215689316391945,
-0.0027865164447575808,
... |
<p>I have a question about the analysis of a unequal sample size repeated measures data with categorical response variable. </p>
<p>This experiment looks at 5 young and aged persons and for each of the individual we have a few data-points measuring their responses to a stimulus. The responses are categorical with four... | g24887 | [
-0.02785138599574566,
-0.0040528783574700356,
0.00864716898649931,
-0.076883465051651,
-0.027794215828180313,
-0.0011018416844308376,
-0.015833519399166107,
0.007267142180353403,
-0.026585930958390236,
0.000766500539612025,
-0.010229256935417652,
0.014044653624296188,
-0.0022240006364881992,... |
<p>I'm very new to this--I took a class last quarter and got hooked--now I'm in this competition and I don't know where to start (kind of). My problem is that I got this data that looks like a bunch of relational database tables and I don't know how to shape them into something I can try to feed into some kind of model... | g45066 | [
0.00028938346076756716,
0.008259239606559277,
-0.003144601359963417,
-0.06635890901088715,
0.018919117748737335,
-0.011369355022907257,
0.009698865935206413,
-0.015061600133776665,
-0.04124932363629341,
-0.02294788509607315,
-0.004837668035179377,
0.007463427260518074,
0.04214679077267647,
... |
<p>I'm currently using R to predict a time series with these instructions:</p>
<pre><code>X <- ts(datas, frequency=24)
X.arima <- Arima(X, order=c(2,1,0), seasonal=c(1,1,1))
pred <- predict(X.arima, n.ahead=24)
plot.ts(pred$pred)
</code></pre>
<p>As you can see I've data each hour, and I chose the seasonal p... | g66030 | [
0.022748896852135658,
-0.02034841477870941,
-0.0006771570770069957,
-0.044697027653455734,
-0.056074708700180054,
-0.07140559703111649,
0.0019367337226867676,
-0.037375543266534805,
-0.014437481760978699,
-0.024090157821774483,
0.03700999915599823,
0.040219496935606,
0.09087324142456055,
-... |
<p>I learned that a statistic is an attribute you can obtain from samples.Taking many samples of same size, calculating this attribute for all of them and plotting the pdf, we get the distribution of the corresponding attribute or the distribution of the corresponding statistics.</p>
<p>I also heard that statistics ar... | g45069 | [
0.06857577711343765,
-0.017310839146375656,
-0.000004098269528185483,
-0.0017956055235117674,
-0.04530387371778488,
-0.040406692773103714,
0.017541969195008278,
0.04319995269179344,
-0.01961642876267433,
-0.0373837873339653,
0.017562085762619972,
0.004240777343511581,
0.060996849089860916,
... |
<p>I have a large (N) list of results from a process that is either positive or negative. After examining X of them and receiving only positive results, how certain can I be that the list only contains positive results (with probability P)?</p>
<p>Context: I'm processing the results (between several thousand and seve... | g66031 | [
-0.017170367762446404,
-0.008242100477218628,
-0.004571870900690556,
0.004380524158477783,
-0.012469147332012653,
0.005419563967734575,
-0.0009069147636182606,
0.011756500229239464,
-0.018057381734251976,
-0.03926469013094902,
-0.019661342725157738,
0.016680190339684486,
0.013477356173098087... |
<p>Say you have two time series, A & B. Each have a mutual effect on the other. To give a real-world example, say that time series A measures an artist's CD sales per month, and time series B is some measure of the artist's "Q" rating. Clearly, increase in A will drive an increase in B, but at the same time, an inc... | g66032 | [
-0.00915118120610714,
0.04064256325364113,
0.015192074701189995,
-0.021204665303230286,
-0.013489351607859135,
-0.013020201586186886,
0.01899045705795288,
-0.028465064242482185,
-0.03176651895046234,
0.007647545076906681,
0.014508095569908619,
0.026394745334982872,
0.08061840385198593,
0.0... |
<p>I would like to know what is the formula for computing the correlation between adjacent values in a 1-D signal.</p>
<p>I am reading a paper where there is a formula for converting this to the FWHM of the gaussian distribution and this is given as:</p>
<p>$$
(FWHM)^2 = -2 \log(2)/\log(corr)
$$</p>
<p>where $corr$ ... | g66033 | [
0.020135926082730293,
-0.05243101716041565,
-0.022181430831551552,
-0.07441888749599457,
-0.029167253524065018,
0.02518850937485695,
0.0558750182390213,
-0.025364898145198822,
-0.046708278357982635,
-0.022088738158345222,
0.02293422818183899,
0.053507644683122635,
0.01651623658835888,
0.02... |
<p>I want to train CHMM using Matlab and I am new to use this software. I am using BNET CHMM which is this:</p>
<pre><code>function bnet = mk_chmm(N, Q, Y, discrete_obs, coupled, CPD)
% MK_CHMM Make a coupled Hidden Markov Model
%
% There are N hidden nodes, each connected to itself and its two nearest neighbors in th... | g46398 | [
0.01576508767902851,
-0.03237826004624367,
0.02180967666208744,
-0.00739696528762579,
0.049676403403282166,
0.004825395531952381,
-0.007114945445209742,
-0.009509727358818054,
-0.06077531352639198,
-0.0515088327229023,
-0.01860732026398182,
0.05542747676372528,
0.02010551281273365,
-0.0056... |
<p>I am very confused about why different volatility estimators (RV, RAV, BPV, etc) exist. If the goal is to find the best estimator for stock volatility, and volatility is latent, how do I know which estimator performs the best when the mathematical definition for these estimators are all different?</p>
<pre><code>Re... | g66034 | [
0.0368172749876976,
-0.08029061555862427,
-0.002578702522441745,
0.04687323793768883,
0.024091826751828194,
-0.06130441278219223,
0.0434754379093647,
0.006881441455334425,
-0.03287452086806297,
-0.09709861129522324,
-0.04263076186180115,
0.015146723948419094,
-0.004836648236960173,
0.01802... |
<p>Nate Silver in his excellent "The Noise and the Signal" warned that we are much in awe of Big Data. But, that Big Data predictions in many fields have been disastrous (financial markets and economics just to name a few fields). With more data, you get more spurious correlations, more false positives, and erroneous... | g66035 | [
0.05001944676041603,
0.01265980489552021,
0.007017670199275017,
0.013675087131559849,
-0.0111334677785635,
0.014841162599623203,
0.07111167162656784,
-0.03465067967772484,
-0.02572472207248211,
-0.024629656225442886,
0.07724829763174057,
0.0141723258420825,
0.057489167898893356,
0.00398610... |
<p>I have read enough threads on QQplots here to understand that a QQplot can be more informative than other normality tests. However, I am inexperienced with interpreting QQplots. I googled a lot; I found a lot of graphs of non-normal QQplots, but no clear rules on how to interpret them, other than what it seems to be... | g15342 | [
0.031220972537994385,
0.05410800501704216,
-0.0019810155499726534,
-0.024056486785411835,
0.0018786467844620347,
0.000011746322343242355,
0.02332284487783909,
-0.0015859116101637483,
-0.01623358391225338,
-0.014511764980852604,
0.01908239908516407,
0.015404969453811646,
0.0015334193594753742... |
<p>I have plot ROC for several models. These models were used to classify my samples into 2 classes.</p>
<p>Using these commands, I can obtain sensitivity vs. specificity plots for each model:</p>
<pre><code>perf <- performance(pred, "sens", "spec")
plot(perf)
</code></pre>
<p>Should I rely on the area under the... | g66036 | [
0.03896303474903107,
-0.04087862744927406,
-0.007686411961913109,
-0.06089986860752106,
0.030488518998026848,
-0.05057886242866516,
0.04464907944202423,
-0.020316971465945244,
-0.040941983461380005,
-0.031133776530623436,
0.02815834805369377,
0.07147268205881119,
0.07958590239286423,
0.009... |
<p>I am not very good in statistics (ok, I'm really bad), I guess this is a very simple question but I dont understand much of the literature.</p>
<p>I have a dataset that is arranged in 2 columns (<code>var1</code> is my response variable, <code>var2</code> my predictor). Based on Pearson correlation coefficient, I f... | g66037 | [
0.05734042078256607,
-0.07709392160177231,
-0.004169209860265255,
-0.038767628371715546,
-0.012502864934504032,
-0.006094966549426317,
0.026739172637462616,
-0.010549725964665413,
-0.0540422722697258,
-0.05661197006702423,
0.0007931958534754813,
0.027617933228611946,
0.0168734360486269,
-0... |
<p>When performing 5-fold cross-validation (for example), it is typical to compute a separate ROC curve for each of the 5 folds and often times a mean ROC curve with std. dev. shown as curve thickness.</p>
<p>However, for LOO cross-validation, where there is only a single test datapoint in each fold, it doesn't seem s... | g66038 | [
0.06099570170044899,
0.00130860460922122,
0.0037500972393900156,
-0.06694971024990082,
0.02737707458436489,
-0.028483090922236443,
0.07996975630521774,
0.013795243576169014,
-0.028880136087536812,
-0.0030158665031194687,
-0.007945398800075054,
0.005327282939106226,
0.06049126014113426,
0.0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.