instruction
stringlengths
9
38.7k
I am testing a model which involves three variables. I am testing a partial mediation model. In SPSS, when I calculate bivariate correlation among these three variables, the maximum correlation (say between B&C) I get is -.530 . However, using AMOS and testing for discriminant validity, I get the correlation as -.814. ...
I'm writing a thesis about cooperating competition between companies. I have a few problems with the last two research questions: RQ7: Are there any differences between the perception of costs and benefits of the cooperating competition between the companies that have previously experienced the concept of cooperating c...
I am simulating 10000 data-sets, each of length 20, that follow an autoregressive model with lag 1, using the following code: set.seed(1) N = 20 n.reps <- 10000 burn.in = 50 total <- N + burn.in x <- matrix(NA, n.reps, total) x[ , 1] <- 0.1 noise <- rnorm(n.reps*total, 0, 0.1) for(j in 1:n.reps) for(i in 2:total) ...
I am a bit confused. Can someone explain to me how to calculate mutual information between two terms based on a term-document matrix with binary term occurrence as weights? $$ \begin{matrix} & 'Why' & 'How' & 'When' & 'Where' \\ Document1 & 1 & 1 & 1 & 1 \\ Document2 & 1 & 0 & 1...
"Distant supervision" is a learning scheme in which a classifier is learned given a weakly labeled training set (training data is labeled automatically based on heuristics / rules). I think that both supervised learning, and semi-supervised learning can include such "distant supervision" if their labeled data is heuri...
Is it okay to feed $I(0)$ variables into the Johansen procedure? I've read three sources that seem to state that this is not what you're supposed to do. However, whenever I've done this, I notice that $\Pi$ is full rank and so it leads me to a VAR and therefore I don't see any problem with this.
In the omega function in the psych package for R, we have several outputs including Hierarchical omega, Asymptotic omega and Total omega. I was reading about the outputs, but I find nothing about what the asymptotic omega means. For an analysis, a friend of mine calculated an omega H = 0.70 and an asymptotic omega of ...
I have a data table T1, that contains nearly a thousand variables (V1) and around 200 million data points. The data is sparse and most of the entries are NA. Each datapoints have a unique id and date pair to distinguish from another. I have another table T2, which contains a separate set of variables (V2). This table a...
Disjoint events A and B with positive probability must not be independent as $P(A)$, $P(B) \gt 0$, $P(A\cap B) = P(\emptyset) = 0 \Rightarrow P(A\cap B) \lt P(A)P(B)$. What are some real world examples that can help better understanding this?
I understand supervised and unsupervised learning well, and would be able to identify some 'basic' examples of, for example, supervised classifcation as: SVMs Random Forests Logistic Regression These are key works in the field which have lots of code and publications available. I am now starting to look at domain ad...
INTRO I have trained a SVM model based on 300 training cases in order to build a filter that should help me extract a bigger and evenly balanced training set, that is to be validated by human judges. DATA My training set is: 288 negative cases 12 positive cases My model performance is: True positives = 6 False positiv...
I am an anthropology student. I am researching the inter-relatedness of most if not all humans as part of my studies. I personally have an interest in statistics and probability theory and I have used it in regards to this topic. Before I explain my theory, I received the following from a computer scientist that I wish...
Who are some famous USSR/Russian Statistics/probability academic researchers? Are russian (current Russia and former USSR) strong in this field academically?
By having a data-set 1000 (900 unlabeled, 100 labeled) record data-set for binary classification, I want to apply a semi supervised algorithm. The problem is that I don't know how to get values for the ROC plot? Actually the algorithm tries to find a threshold on a probability value (base on the 100 labeled records) in...
Assume that two drugs were tested. The risk of death for drug 1 is $p_1$ and the risk for drug 2 is $p_2$. We define: Risk difference (RD) $RD=p_1-p_2$ The number needed to treat (NNT) $NNT=1/|RD|$ If we know the estimated RD as RD* and its standard error as se(RD*), what is the 95% CI for NNT? I can think of two m...
I was reading this book related to machine learning. It's given that for Mth order markov chain, the number of parameters = $K^{M-1}(K-1)$ where M is the order. I am not sure how this is derived. For eg, lets say I have three states {Sunny, Cloudy, Rainy}. So at each time stamp I will look at the previous two states. ...
I have 14 different habitat classes and two activity states (so two variables – habitat and activity). For activity state A, I have a data count of over 300, but with B, I only have around 30 (so unequal sample sizes). I really want to see if one or more habitat/s is used significantly more than others during each act...
Multiple imputation is fairly straightforward when you have an a priori linear model that you want to estimate. However, things seem to be a bit trickier when you actually want to do some model selection (e.g. find the "best" set of predictor variables from a larger set of candidate variables - I am thinking specifical...
I have 6 subjects. For each subject, we measured two variables over six-week period once a week. Let’s call the variables A and B. Variable A is binary (male or female), and variable B is continuous (blood pressure). Now I want to see if females have higher blood pressure than males. What kind of statistical method do ...
I am trying to beat the performance of an SVM classifier in a text classification task. Input is a bag of words model of sentences with 1 representing presence and 0 representing absence. Output is 1 of 4 possible labels. Are DBNs directly applicable to this class of problems? I get an error of 0.38 on the test set an...
I have an experiment with 44 subjects and two within-subject factors, condition (3 levels) and round (6 levels). It is fully crossed such that each person completes one of each task condition in each round. I have done the analysis (and ANOVA) in R using the lmer function. My lmer model is: lmer(dist ~ condition*round ...
Possible Duplicate: Difference between generalized linear models & generalized linear mixed models in SPSS Repeated measure problem I have 6 subjects. For each subject, we measured two variables over six-week period once a week. Let’s call the variables A and B. Variable A is binary (male or female), and variable B ...
I have this confusion related to the benefits of Gaussian processes. I mean comparing it to simple linear regression, where we have defined that the linear function models the data. However, in Gaussian processes we define the distribution of the functions means we don't specifically define that the function should be ...
I was reading about HMM in C.M. Bishop's book Pattern Recognition and Machine Learning. I was going through the forward and backward algorithm using $\alpha$ & $\beta$ For forward messaging passing $\alpha(z_n) = p(x_n|z_n)*\sum_{z_n-1}\alpha(z_{n-1})*P(z_n|z_{n-1})$ Since the probabilities are <=1. As we move from $z_...
I am working on research involving the collection of data from employees and customers. Specifically, my research question deals with the influence of employee satisfaction on the quality of customer service. I will collect data from both employees and customers, and plan on running a correlation analysis on the result...
I've got large amount of data (e.g. 100K) and I want to cluster them in very fine-grained clusters (e.g. 10K). I look for an appropriate algorithm that uses the similarity function instead of whole data and also I can't compute whole similarity matrix because of data scale. Python implementation is appreciated.
I am new to both logit models and GLMs, but I think one of those two model classes might be the correct analysis for my data set: I am interested in comparing the composition of the diet of fish collected in 3 habitat types - thus "habitat" is a categorical predictor with 3 levels. I want to test 2 types of null hypoth...
What's the difference between an unrestricted and a restricted VECM? I believe a hint lies within the cajorls()[1] function of R language's urca[2] package.
As a follow-up to Model suggestion for a Cox regression with time dependent covariates here is the Kaplan Meier plot accounting for the time dependent nature of pregnancies. In other words, the dataset is now broken down into a long dataset with multiple rows according to number of pregnancies. The KM graph, and also t...
Consider for instance the balanced one-way random effects ANOVA model: $$(y_{ij} \mid \mu_i) \sim_{\text{iid}} {\cal N}(\mu_i, \sigma^2_w), \quad j=1,\ldots,J, \qquad \mu_i \sim {\cal N}(\mu, \sigma^2_b), \quad i=1,\ldots,I. $$ In this post I asked how to get a prediction interval and I found an answer in a published...
I was wondering if anybody knows of the existence of an R package which implements entropy-based methods (maximum empirical likelihood, maximum exponential empirical likelihood, minimum discrepancy estimators, etc.)?
I would like to get some tips, because I am currently stuck with my regression part. I am using binary logistic regression. The aim is to compare two separate groups' responses. I have a MV (moderator variable, 1-one group, 0-other group). My IV (independent variables are 11 and all of them were measured on 7-point Lik...
Can a percentage be lets say 0.172% even after multiplying it by 100? The reason is, in my calculation i did the following; (4.3601/2329.475495)x100 giving me the above answer. Is that correct or am i in the wrong?
Assume two equations $Y_1 = X_1\beta_1 + X_2\beta_2 + U_1$ $Y_2 = X_1\alpha_1 + X_2\alpha_2 + U_2$ Further assume that $ \ U_1 = X_4 + E_1$ and $U_2 = X_4 + E_2$ with $ \ corr(Y_1,X_4)\ne 0, \ \ corr(Y_1,E_2)= 0 \ \ \ $ and $ \ \ \ corr(Y_2,X_4)\ne 0, \ \ corr(Y_2,E_1)= 0$ So if we would estimate eq. 1 and 2 by OLS ...
I am running a neural net to predict used car prices, sample size is 800. Using both 10-fold cross validation (10 times) and 1/3 holdback (10 times), the $R^2$ for training is about 0.60 and for validation is about 0.68 for all 20 runs. The smallest difference in the 20 runs is training $R^2$ = 0.64 and validation $...
I was reading this book Pattern Recognition and Machine Learning by Bishop. I had a confusion related to a derivation of the linear dynamical system. In LDS we assume the latent variables to be continuous. If Z denotes the latent variables and X denotes the observed variables $p(z_n|z_{n-1}) = N(z_n|Az_{n-1},\tau)$ $p(...
I have two signals A and B. I want to show that high amplitude events in B are phase locked to oscillations in signal A. I have already identified candidate events signal B. I estimate phase_of_A using the angle of the hilbert transform of A, and I estimate the envelope_of_B using the abs of the hilbert transform o...
Thank you in advance for help! I am conducting a study using General Linear Modeling on the distribution of financial aid at a college. I am not looking to project my findings onto a larger population. I only want to make statements/conclusions about this one school. The dataset has over 1000 students, each of whom w...
A friend of mine took a document and broke it up into parts, then asked 5 subject matter experts to classify each part into nominal category A, B, C, D, or E. (I'm not sure yet, but D may be "All of the Above" and E may be "None of the Above".) So we have around 200 sections of the document, each with five opinions as ...
I am trying to find the expected value of $X$, where $X$ is the number of orders a customer will make in a lifetime. Assuming that there is a $p=.1$ chance of the customer placing an initial order, and then (given that the customer places that initial order) a $p=.9$ chance that the customer places an order after that ...
An example of a good measure of class separability in linear discriminant learners is Fisher's linear discriminant ratio. Are there other useful metrics to determine if feature sets provide good class separation between target variables? In particular, I'm interested in finding good multivariate input attributes for ma...
A magazine wants to know if the online viewers are more than its printed copy buyers. Which statistics test is the best to use, the t-test or Wilcoxon signed rank or Mann–Whitney U? If I have less than $30$ days, is it correct that I should not use t-test since it is not a normal distribution? $$\begin{array}{c|c|...
I am recently learning to use support vector machine as classification. I have some question about it and hope that it is not a dumb question. As far as I know, For multinomial logistic model for classification, the error terms is assumed to be i.i.d double-exponential distribution. For probit model, it is assumed to b...
I collected data to find whether the presence or absence of vision, sound, and touch during a task affected the successful completion of that task. However, there were no samples collected where all three senses were absent. So the dependent variable is boolean success but I have a question about how to model the indep...
Basically I have an interest in sports and as part of that do a Microsoft Excel based version of Kenneth Massey 1997 thesis (http://masseyratings.com/theory/massey97.pdf) method of ranking sports teams, that also allows for a Home Field Advantage (HFA) rating (so I have Solver within Excel solve the least squares metho...
I am looking for a clustering algorithm. My idealized dataset looks like this: The clustering result should look like the Rapidminer density plot: Means 3 or 4 clusters should be the clustering result: One Cluster (1|1) to (5|6), one or two for the points on Z = 5 and one for the overlaying area (6|1) to (11|6). Bas...
I am doing a time series analysis on a quarterly basis from 1990 to the third quarter 2012. Some of the time series had a drop in 2008 because of recession then resumed upwards. This drop is rather steep. I am thinking of using credit spreads since credit spreads follows the economy rather well. Then I can apply coin...
I would like to use Good-Turing smoothing to find the probability of the next type of fish I will catch. If I have caught the following already: 1 carp, 1 perch, 1 whitefish, 1 trout Then N1 = 4, since I have seen four types of fish one time. I know that with Good-Turing the probability of the next fish I catch being...
I was trying to figure out whether or not the distribution of a biomarker came from heterogeneous populations. Analyzing the data with normalmixEM in the mixtools package in R, I got two distributions, but the histogram was unimodal and seemed to be homogeneous. (Sorry, I cannot post an image because I'm new here.) So ...
I have a question regarding the interpretation of the output I get by fitting a GEE model in R. Attached is the picture of the output I get: 1) The first column, Estimate, is obviously the estimated $\beta$'s under the GEE model. 3) The third column seems to be the Z statistic calculated using the Naive S.E 5) Fifth ...
I am trying to program out a couple of statistical formulas with python. I am not concerned with efficiency or the fact that there already are tools to calculate the values, but I am doing it to increase my understanding of statistics. I tried setting up the Student T CDF, but I have no clue how to even start programmi...
This query ties a lot of my interests in rating sports teams together, because as I’ve mentioned before I do a version of the Kenneth Massey method (as per his 1997 thesis http://masseyratings.com/theory/massey97.pdf) of rating Sports Teams. I do it in Excel and usually do it by setting up a least squares based problem...
My biology test is to measure the rate of photosynthesis in leaf discs. It's a simple experiment where I will infiltrate the leaf disc space with sodium-bicarbonate and cause a pressure difference to sink the leaf disc. Then I will shine a light on it causing photosynthesis and time it in minutes for it to rise to the ...
I'm implementing Thompson sampling for a multi armed bandit problem (see http://en.wikipedia.org/wiki/Thompson_sampling). The underlying Bayesian model is a Bayesian Linear Regression, which has a conjugate Normal-inverse gamma (NIG) prior for the regression coefficients and the standard error. This NIG distribution is...
I am trying to understand the concept of auto correlation and I am looking for some help to clear some doubts regarding my data. I have a time series data and it has repeated experiments. Each sample has 4 time points and corresponding values for the genes under study. I have used ind to represent each sample in my dat...
How do I apply the Augmented Dickey-Fuller (or alternative) test to determine if a variable is $I(2)$ instead of $I(1)$? Is there functionality for this in R language? My guess would be to apply the following procedure: Reject the null hypothesis that $X_t$ is $I(0)$, concluding that $X_t \sim I(d)$ for $d > 0$. Test...
I am producing a script for creating bootstrap samples from the cats dataset (from the -MASS- package). Following the Davidson and Hinkley textbook [1] I ran a simple linear regression and adopted a fundamental non-parametric procedure for bootstrapping from iid observations, namely pairs resampling. The original samp...
I have a study where the goal is to see if a new diagnostic tool provides any addition to the old procedure. A set of patients have been diagnosed and classified into 7 categories, each corresponding to a given treatment. The new diagnostic tool is then used, and the patients are diagnosed and classified again. Patient...
First, I should state that I have searched on this site for the answer. I either didn't find a question that answered my question or my knowledge level is so low I didn't realize I already read the answer. I am studying for the AP Statistics Exam. I have to learn linear regression and one of the topics is residuals. ...
I have a 2-dimensional panel data set with one characteristic looking along these lines: individual | year | BMI 1 2005 25.3 1 2006 25.4 1 2007 24.1 2 2005 22.9 2 2006 22.1 2 2007 21.1 ... I also have annual values for another external varia...
In GAM-based logistic regression pseudo-absence data is necessary to fit the model with corresponent presence data. In many cases, pseudo-absence data are generated 10 times more than presence records in order to ensure sufficient landscape variety in the pseudo-absences. To ensure that the presences and pseudo-absence...
I'm wondering if someone could help to explain the difference between two covariance matrices. Suppose that ${\bf K}_X$ and ${\bf K}_Y$ are two covariance matrices of real random vectors. What is the difference between ${\bf K}_X+{\bf K}_Y$ and ${\bf K}_{X+Y}$?
Given the same set of covariates and distribution family, how can I compare models having different link functions? I think the correct answer here is "AIC/BIC", but I am not 100% sure. Is it possible to have nested models if they have a different link?
I have some "big data" containing event pricing information with 45 days of lead time quotes up to the day before the event. Thus, it's structured like so: -45 100.00 -44 120.00 ... -1 110.00 We have events every day of the year, and have year-over-year data. I'm a relative newbie to forecasting models, so this is a b...
I have got a set of elements $X$ which I can describe according to $n$ characteristics. Thus: $$x_i: \{c_{i1}, c_{i2}, \ldots, c_{in}\} \mid x_i \in X $$ where $c_{ij}$ is the (numerical) evaluation for element $i$ according to the characteristics $j$. So my elements can be viewed as points in a $n$ dimension space. Ac...
I am trying to forecast/predict the number of donations expected to be received at multiple locations across the country. I have and want to use the information I have. This information covers the previous 10 years of donations received up to and including the tenth day of the month in which the prediction is being mad...
I am trying to show that the central moment of a symmetric distribution: $${\bf f}_x{\bf (a+x)} = {\bf f}_x{\bf(a-x)}$$ is zero for odd numbers. So for instance the third central moment $${\bf E[(X-u)^3] = 0}.$$ I started by trying to show that $${\bf E[(X-u)^3] = E[X^3] -3uE[X^2] + 3u^2E[X] - u^3}.$$ I am not sure...
After applying a machine learning algorithm on some data, I have a table with one column being the prediction value (can be either binary or continuous). The other columns are the independent features (mostly numeric values). I'm trying to look for a way of visualization which answers the question: Which of the indepen...
In order to cluster users given a user-item binary matrix data, I am planning to first find user's similarity (Jaccard) and then use graph theory to isolate clusters (communities). I need to map the similarity matrix to a binary graph where $e_{ij}=1\; \text{iff}\; \text{sim}(u_i,u_j) > th$, i.e, there is an edge betwe...
I am looking for the standard error for the distribution of the difference in proportions for hypothesis testing when the null hypothesis is that the two proportions are different by a constant. Let's say that: $H_0: {p}_1 = {p}_2 + c$. Then I've seen that $\sigma_{\hat{p}_1 - \hat{p}_2}=\sqrt{\frac{\hat{p}_1(1-\hat{...
I am working on a project for a Masters Project. The town I am looking at Switched to a Fareless system in Feb 1, 2011. I want to look and see if this increased ridership by a substantial amount. I have the following for data and have it drilled down further to even amount of riders per day per hour since 2008. But...
Suppose I have $4$ ordinal variables and a single covariate ($\log_{10}(x)$). When I run an ordinal probit model, I get three threshold coefficients and one probit slope. Call the threshold coefficients $b_1, \dots,b_3$ and the probit slope $b_4$. So we can get $10^{b_1/b_4}$ for category 1, $10^{b_{2}/b_{4}}$ for cat...
I'm trying to figure out support vector machines using this resource. On page 2 it is stated that for linearly separable data the SVM problem is to select a hyperplane such that $\vec{x}_i\vec{w} + b \geq 1$ for $y_i \in 1$ and $\vec{x}_i\vec{w} + b \leq -1$ for $y_i \in -1$. I'm having trouble to understand where the ...
I recently came across the paper "The Insignificance of Null Hypothesis Significance Testing", Jeff Gill (1999). The author raised a few common misconceptions regarding hypothesis testing and p-values, about which I have two specific questions: The p-value is technically $P({\rm observation}|H_{0})$, which, as pointed...
I am working on algorithms for collaborative filtering (CF). As part of this work, I want to compare a new algorithm to previous approaches to the problem. I am also surveying the most important methods and publications in publications. So far I have skimmed through around 50 articles, but I have difficulty in pin-poin...
I am trying to learn about the inference and maximization basically EM of the linear dynamic systems(Kalman filters for example) from Bishop's book of Pattern Recognition and Machine Learning. However, I am not being able to follow the derivations given in there. I have got the basic idea of what Kalman filters are and...
Having a little trouble with this one: Suppose $X_1, X_2, \ldots $ are iid standard normal random variables. Let $W_n = \sqrt{n} \frac{X_1 + \cdots + X_n}{X_1^2 + \cdots + X_n^2}$. Find the limiting distribution of $W_n$ as $n \to \infty$. Too bad convergence in distribution isn't closed under division. Can't get sluts...
I have a CSV dataset which contains mean (Numeric), spread (Numeric), review (string), class (Nominal) attributes. When I run J48 Decision tree with this dataset in Weka I get 100% accuracy even after cross validation (20 folds), and I believe this is wrong. So I converted all numeric attributes to binary attributes an...
I stumbled upon the following problem: Given 'n' dice with 'm' faces with values 1 to m and a number 'x' what is the probability that the sum of the numbers on the 'm' dice is greater than or equal to 'x'? That is $m \le x \le n.m$ find $P(sum \ge x)$ Now, this 'almost approximates' a normal distribution. I'm sure it...
I have two random variables $X > 0$ and $Y > 0$. Given that I can estimate $$\text{Cov}(X, Y),$$ how can I estimate $$\text{Cov}(\log(X), \log(Y))?$$
In my previous job as a statistics teacher, I was involved in studies mostly as an advisor on a general level. Not that much hands-on experience from doing the actual sampling or data cleaning, activities which are both important and time-consuming in practice. In my present job, I am the one who is supposed to know ab...
The question arises in a cryptographic context involving a regulatory test of a physical source or random bits, with null hypothesis that they are independent and unbiased. $n$ samples of 4 bits are drawn ($n=128$ or $80$), the number of samples $O_i$ in each of the 16 bins is counted, and the source assumed defective ...
I'm interested in variable selection for a cox proportional hazards model. I've read this article which slightly favours randomized bootstrap lasso selection over bootstrap lasso selection since it removes the necessity of selecting a lambda-value. While the authors state that they used the penalized package, I'm ha...
Anyone's got a quick short educational example how to use neural networks (nnet in R for example) for the purpose of prediction? Here is an example, in R, of a time series T <- seq(0,20,length=200) Y <- 1 + 3*cos(4*T+2) +.2*T^2 + rnorm(200) plot(T,Y,type="l") This just an example but what I have is jumpy-seasonal dat...
I would like to describe the "peakedness" and tail "heaviness" of several skewed probability density functions. The features I want to describe, would they be called "kurtosis"? I've only seen the word "kurtosis" used for symmetric distributions?
I have a data set containing equity price information on a tick by tick basis. I would like to calculate the correlation in R, which isn't a hassle. But the vectors are of different length due to one equity being traded more than the other. I can aggregate on a minute basis, but this also leaves the vectors of inequa...
I know how to use R but I am kind of stuck on the statistical part here: I need to visualize the results from a software usability test where the total number of clicks of each tester for every one of the three tasks they had to complete were recorded. The total time needed for each of the three tasks was also recorded...
In computer programming, there is a classic first program for learning/teaching a new language or system, called "hello, world". http://en.wikipedia.org/wiki/Hello_world_program Is there a classic first data visualization for using a graphing package? If so, what is it? And if not, what would good candidates be?
Possible Duplicate: Statistical inference when the sample “is” the population Greeting, My question is:Can we apply inferential statistics on the entire population in case of the possibilty to have an access to the targated population. The population consists of 100 school middle school principals. If I can collect ...
I am trying to find E[Y|X] when only given the facts that: ${\bf P[Y=y] = 2/3, y=0 }$ ${\bf 1/3, y=1 }$ ${\bf 0, else }$ and ${\bf P[X=x|Y=y] = 2/3, x,y=0}$ or ${\bf x,y=1 }$ ${\bf 1/3, x,y=1,0}$ or ${\bf x,y=0,1}$ ${\bf 0, else}$ I am trying to solve this using Bayes theorem so that: ${\b...
Possible Duplicate: Python as a statistics workbench I am just starting out with data analysis and machine learning. From the books that I am reading/have read Python and R seem to be the best options for me. I want to know (in a general way) the pro's and con's of each, or if I should perhaps use both. Up until now...
I need to give a lecture about Bayesian statistics, introducing it to people who have already basic knowledge of classic statistics (but not too much of it in general). I want to start with some example, showing the main differences between Bayesian statistics and classic statistics. Is anyone familiar with a very basi...
I'm interested in exploring autoencoders which can be used to develop a compressed representation of data useful for machine learning. In my experience random forests are easier to work with and more flexible than linear models and so I'd like to try to use them to build an autoencoder. One might do this by using rando...
I am new to machine learning. I applied logistic regression and random forest on a same dataset. So I get variable importance (absolute coefficient for logistic regression and variable importance for random forest). I am thinking to combine the two to get a final variable importance. Can anyone share his/her experience...
Let's say I have two hypotheses for a coin with probability $p$ for heads: $H_0$ - the null hypothesis - the coin is fair $p = 0.5$. $H_1$ - coin is unfair $p \neq 0.5$. Say the test is $|X-n/2| > r$ for some $r$ where $n$ is the number of tosses. It is possible to choose $r$ for a desired significance level quite easi...
For example say m is 10 and n is 3. I am selecting 3 numbers from 1-10 and want to know the probability with which they will be in sorted order. 1, 1, 4 would be fine. 1, 6, 3 would not be fine. For m=10 and n=2, the probability of selecting the 2 numbers in sorted order is 55/100. How could I calculate the probabilit...
Possible Duplicate: Where to find a large text corpus? I know someone has asked a similar question here, but I'm wondering whether anyone knows of a large textual corpus that is available for research use. The number of documents it contains isn't terribly important--rather, I'm looking for something that is on the ...
If I go to https://www.coursera.org/course/neuralnets and click preview, there are many video lectures. Does anyone know if these are the same lectures you see if you enroll in a course?
Suppose we have some data points that we believe they follow $N(\mu, \sigma^2)$, and both parameters are unknown . I want to assign conjugate prior distributions on both $\mu$ and $\sigma^2$, and then obtain the posterior distribution. How this can be done in R?
I am considering two types of systems - which might have more appropriate names: Recommender systems: These recommender systems are based on collaborative filtering methods, both model-based and memory-based. They take a partially filled user/item matrix of ratings of items by users, and try to predict the missing rati...