instruction
stringlengths
9
38.7k
Given that the posterior estimate of $\sigma'^{2}$of a normal likelihood and an inverse gamma prior on $\sigma^2$ is: $$\sigma'^{2}\sim\textrm{IG}\left(\alpha + \frac{n}{2}, \beta +\frac{\sum_{i=1}^n{(y_i-\mu)^2}}{2}\right)$$ which is equivalent to $$\sigma'^{2}\sim\textrm{IG}\left( \frac{n}{2}, \frac{n\sigma^2}{2}\ri...
I have two logistic regression models, using the same data set and same dependent binary variable but with different sample sizes due to different IV's. How would I go about comparing the two models aside from using a classification matrix?
Possible Duplicate: Why does including latitude and longitude in a GAM account for spatial autocorrelation? I am interested in the effect of a predictor vector $X_i$ on a binary outcome $Y_i$, with corresponding spatial location $s_i$, so I've considered the spatial random effects model, \begin{equation} logit(P(Y...
Perkins et al. (2007) introduce a "skill score" for measuring climate model output against observations. The score basically consists of measuring the overlap between probability density functions of the model (m), and the observations (o); for some variable (eg. maximum daily temperature). It is calculated as $$S_{sc...
Possible Duplicate: How can a regression be significant yet all predictors be non-significant? X and Y are not correlated (-.01); however, when I place X in a multiple regression predicting Y, alongside three other (related) variables, X and two other variables are significant predictors of Y. Note that the two othe...
I have fairly good practical experience with Metropolis-Hastings and Gibbs sampling, but I want to get a better mathematical understanding of these algorithms. What are some good textbooks or articles that prove the correctness of these samplers (more algorithms would also be great)?
I am comparing error estimates from different models. I am looking at MAE (mean absolute error) and RMSE (root mean squared error) as my choice of error estimates. But the problem is that mostly they are not agreeing with each other. Can there be any bias in the estimate, such that one of the error estimates will favo...
In climate modelling, you're looking for a models that can adequately portray the Earth's climate. This includes showing patterns that are semi-cyclical: things like the El Nino Southern Oscillation. But model verification occurs generally over relatively short time periods, where there is decent observational data (la...
We want to use SPSS to compare two groups (2 independent samples t-test). The first group contains real data, the other group is fictional. This fictional group should contain as many "subjects" as the real (1st) group. But the mean is set to 0 and the standard deviation to 1 (standard normal distribution). There are s...
I have an exam in two days and can't figure this out at all: In the local cola canning factory, the mean fill of cans is set at 300 milliliters but there is concern that the population mean fill may not in fact be 300ml. Assume that the standard deviation of the amount of cola in a random can is 1. 2 ml. A rando...
In a survey, where students were presented various stimuli, after each stimulus they were asked to rate the following: Quality, on a five-point scale from "Excellent" to "Bad", let's say $Q$ Confidence in their quality ratings, on a four-point scale from "Very Confident" to "Not confident", i.e. $C$ Here are my assum...
can anybody tell me why the oneway.test() results in a p-value of NA when var.equal is set to FALSE but in a p-value of 0.7173 when it is set to TRUE Here is my example: x <- c(3.921973, 5.703782, 3.921973, 3.921973, 3.921973, 6.075346, 3.921973, 3.921973, 3.921973, 3.921973) y <- c(4.424847, 4.424847, 4.424847, 4.4248...
Recently I was very embarrassed when I gave an off-the-cuff answer about minimum variance unbiased estimates for parameters of a uniform distribution that was completely wrong. Fortunately, I was immediately corrected by cardinal and Henry with Henry providing the correct answers for the OP. This got me thinking though...
I have data on alcohol use by drivers as a binary response variable along with many other variables such as: Driver's age, gender and race Passenger's (if present) age, gender Location variables Road characteristics Here is sample of the data: data1 <- structure(list(drunk = c(1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1...
I want to create a binary model which predicts whether someone has improved his state. I am testing possible variables as explanatory variables in order to make some recommendations. Now my binary model is quite weak, AUC is around 0.6 and there are hardly any cases predicted above 0.5 in the test set. Now I could simp...
I'm trying to calculate logistic regression coefficients by defining the log-likelihood function and using maximum likelihood. In some cases when the initial (start) values I gave to the maximum likelihood were not correct I got wrong results for the logistic regression (different from the ones I get when using glm for...
Q1: Is there any Arima (p,d,q) model that can forecast interventions (pulse) itself? I know that I can use xreg or even xtransf arguments as the covariates to include the intervention over the observed time series. The problem is that I don’t know the new values of the covariates to include in the predict function to d...
I have 2 sets of brand preference data (in %) to measure impact of online advertising on target group F20-40 years i.e., 1.different time period (pre/post - not same consumers but same target group) & 2. Control (not seen online advertising) vs Exposed (exposed to advertising). Could you suggest what statistical signi...
A response variable y is a nonlinear function of a number of predictor variables X (in my real data the response is binomially distributed, but here I'm using a normally-distributed value for simplicity). I can model the relationships between the predictors and the response using splines / smooths (for example, GAM mod...
I have some models built with the auto.arima function from the forecast package. I'm modeling a variable called 'natural efluent energy' (ena), which is how much energy you can extract from some Hydrography region. There are 2 regressor variables (rainfall precipitation from period $t$ and $t-1$.) Each region has it's ...
I intend to do an exploratory factor analysis among items that have different types of measurements: for example, some items have bounded scales (1-100%), some items take small and other large values (different units indeed, such as dollars or hours). I've been reading a lot and haven't found a negative answer, i.e. th...
I intend to use factor scores as derived from exploratory factor analysis in subsequent multivariate regression analysis, as an explanatory variable. I've read in multiple books/papers that Structural Equation Modeling is the appropriate method to model relationships AMONG LATENT VARIABLES (using factor scores being in...
I am using stochastic gradient descent to learn a model. Here is the plot of the objective function for the iterations. I am trying to maximize the function value. Taking the average of 500 iterations, I have this next plot As you can see the function value is increasing and we can say the algorithm is converging. Ho...
I created a poll on a sports forum asking people how they think their favorite NBA team did this off-season. The poll options were: Top 10, Middle 10, Bottom 10. I expect dozens of people to respond, which isn't a huge sample. The hypothesis I'm testing (unbeknownst to the voters) is that there will be a "homerism" bia...
When performing a linear regression on my dataset, Durbin-Watson was very low (0.276). I found a tutorial online that suggested performing an Prais-Winston autocorrelation. The tutoral came with screenshots of SPSS on how to perform the analysis. The screenshots however, are from SPSS 14. I have SPSS 16, and I am not a...
I have a question regarding variance, paired testing and minimum detectable difference (MDD). Paired samples: $$ MDD (δ) = \sqrt{ \frac{σ^2}{n} (t_{(α/2,n-1)} + t_{(1-β, n-1)})} $$ I have a set of baseline samples ($A$) sampled at time 0. Because acquiring those samples is destructive, I’m unable to re-sample the same ...
I'm running a simple cross-sectional regression where I first run regressions for every year of observations and then I'm running this code to get the Newey-West corrected standard errors: ods listing close; ods output parameterestimates=pe; proc reg data=dset; by year; model depvar = indvars; run; quit; ods listing;...
Identify the following models as linear or non-linear. In case of a non-linear model, reduce the model into a linear model by a suitable transformation. $$\eqalign{ (a)\quad&y=\beta_0+\beta_1 x+\beta_2 x^2+e \\ (b)\quad&y=\frac{x}{\beta_0+\beta_1 x}+e\\ (c)\quad&y=\frac{\exp(\beta_0+\beta_1 x)}{1+\exp(\beta_0+\beta_1 x...
Is there a function in R that could perform GLS cross-sectional regression for multiple cases all at once? For example, when regressing stock returns over beta for 100 stocks over a 10-year time series for each case. However, the equation should solve all of the 100 regressions and give only one result, a "multiple r...
Using mgcv I have made 5 models, each one using a subset of my data, defined by quantiles. The response/explanitory variables are the same in each case, but the deviance explained by each in each model differs, along with the P values. Is there a clever way of comparing the contributions of each explanitory variable in...
I am having some issues with stochastic gradient descent. Using batch gradient descent where I consider all the training sets I have certain parameter values which I know are correct. My function is convex,globally. Now when I use stochastic gradient descent considering ten samples at a time, the algorithm converges...
I want to have R display the data it gives me from the summary() function in a table so I can easily share this. I am currently just doing summary() in the console and then taking a screenshot, but I would rather have this generated as a nice table just like all of my graphs are. Any ideas?
X and Y are not correlated (-.01); however, when I place X in a multiple regression predicting Y, alongside three (A, B, C) other (related) variables, X and two other variables (A, B) are significant predictors of Y. Note that the two other (A, B) variables are significantly correlated with Y outside of the regression....
Using a data set of 209 countries, I have run a fixed effects regression for non-OECD countries. When I summarize my variables, it gives me all of the variables in data set, but I only need a summary of those variables that have been used in my fixed effects regression. For instance, when I run fixed effects, the num...
Excuse my ignorance. I tried to look up the questions but couldn't find it. I had a discussion today whether it is possible that a study result will have a p<0.05 yet that would be caused by chance (i.e. a possible underpowered study - if I got all the terms correctly). My thoughts were that if there is a statistically...
Recently I posted a question over in CS.SE dealing with methods of classifying data. Essentially the problem is that I have a collection of strings (100's of thousands). Most of these strings are the same "type"-- in my initial case they are street addresses. However, there are a few strings in this collection that ...
I ran an SVM against a given data set, and made the following observation: If I change the number of features for building the classifier, the number of resulting support vectors will also be changed. I would like to know how to explain this kind of scenario.
While I have successfully used R for Cluster Analysis and Correspondence Analysis, I'm new to the use of R-project for Choice-Based Conjoint. Per recommendations in this post, I'm looking at the following [R] Packages for purposes of analyzing choice-based conjoint data: ChoiceModelR mlogit AlgDesign for constructing...
I don't have much background on statistics. I am working on multivariate morphometrics of a sample of frogs. I have a data matrix of 19 variables (continuous characteristics) for around 250 samples. The samples fall into 4 different groups (morphotypes). Is PCA the best way to see if the samples belonging to one group ...
I am interested in determining the number of significant patterns coming out of a Principal Component Analysis (PCA) or Empirical Orthogonal Function (EOF) Analysis. I am particularly interested in applying this method to climate data. The data field is a MxN matrix with M being the time dimension (e.g. days) and N bei...
I need to estimate the density function based on a set of observations using the kernel density estimator. Based on the same set of observations, I also need to estimate the first and second derivatives of the density using the derivatives of the kernel density estimator. The bandwidth will certainly have a great effec...
I have a number of studies describing families tested for a genetic condition. For each study the following data are described: $n_p$, number of probands (the proband is the first person in a family to be diagnosed with the genetic condition, so this is generally equal to the number of families) $n_r$, number of relat...
For 86 companies and for 103 days, I have collected (i) tweets (variable hbVol) about each company and (ii) pageviews for the corporate wikipedia page (wikiVol). The dependent variable is each company's stock trading volume (stockVol0). My data is structured as follows: company date hbVol wikiVol stockVol0 comp...
I'm modeling (using GLM) one binary explanatory variable against a binary response variable. The output looks ok to me, but I'm a biologist with a basic knowledge of stats, I just wanted to ask if there's any rule/caveat/problem for modeling a binary versus a binary?
Imagine an a la carte buffet with n different rooms. On entering the buffet you pick a room (let's say American, Mexican or Italian food) where you stay for the duration of your visit. Once in a room, you have a full selection of small dishes to pick from and most people choose multiples of several different dishes, e....
I am attempting to build a simple multiple regression in order to estimate the value of a home. The 5 datapoints are 5 comparable home sales (similar in size, lot, location, # of bedrooms, etc...). If you run such a model, the software will say you need one more datapoint than variables. So, how about if I take my 5...
I am measuring two continuous variables ($X,Y$) for 21 subjects. $X$ and $Y$ have 216 data points each (per subject). I would like to see if $X$ and $Y$ are correlated at the group level. I can think of 3 options: a) Concatenate all the subjects together and compute the correlation. I believe this method will inflate m...
The 16-year-old Chinese swimmer Ye Shiwen swam more than 5 seconds faster than her personal best in women's 400m individual medley in London 2012 Olympics, winning her a gold. Her performance received high exposure to media and mixed comments, even some controversy. For example, Nature published a news report titled "W...
Let $X_1,X_2,\dots$ be i.i.d. Bernoulli random variables with parameter $\frac{1}{4}$. Let $Y_1,Y_2, \dots $ be another sequence of i.i.d. Bernoulli random variables with parameter $\frac{3}{4}$. And let $N$ be a geometric random variable with parameter $\frac{1}{2}$ (i.e., $\mathrm{P}(N = k) =\frac{1}{2^k},\, \forall\...
In certain arenas, it's valuable to be able to intervene early on to prevent problems from getting worse, because after a certain point there's not much you can do. Two examples might be public health or education. Say we have a bunch of information about students -- their demographic info, their past transcripts, the...
Let $X $ be a dense integer set such that its elements are closely knit in value. For instance: 1 1 1 1 2 2 2 2 2 3 3 5 5 6 6 6 6 6 7 7 7 7 8 8 8 8 8 8 ... I am looking to compress this data set in whatever means possible, currently resorting to delta encoding. Through delta encoding, I am able to store the above arra...
I have been working on the uncertainty associated with a quantity calculated from a Monte Carlo project. Normally I would use the bootstrap method by resampling with replacement, for a couple of technical reasons that is not particularly easy here. It was suggested that I just break up my MC data set and perform the ex...
Possible Duplicate: Probability distribution value exceeding 1 is OK? I'm comparing results given by this implementation and that from the gtool library in R, of the Dirichlet density function. With the following input parameters I get a value > 1. Wasn't this a density function? What does it mean that it is greate...
I've found myself in a situation where I have been given a model that has been developed from what I believe to be the "this seems right" approach. The model in question is very complex but it has no associated error margins or tests of correctness. I.e., there is nothing supporting this model to be good. To verify the...
I have some repeated measures with 196 individuals and some of my regressions have a plateau. So I want to characterize this with an eventual breakpoint for each ID. Example: subset of my personal data ID time y 7G009 0 9 7G009 108,33 13 7G009 185,69 16 7G009 309,22 20 7G009 515,08 21 7G051 ...
I am starting out on my PhD journey, and the ultimate goal that I set before myself is developing ANNs that would monitor the environment they work in and dynamically adjust their architecture to the problem at hand. The obvious implication is temporality of data: if the data set is not continuous and doesn't change ov...
I have 2 groups and 2 correlation coefficients that I would like to compare using Fisher's transformation. Unfortunately, one of these coefficents is not significant, so not different from zero. Can I still perform the transformation because "not different from zero" does not mean "not different from the other coeffic...
I have a question about model selection and model performance in logistic regression. I have three models that are based on three different hypotheses. The first two models (lets name them z and x) only have one explanatory variable in each model, and the third (lets name it w) is more complicated. I’m using AIC for va...
Let $Y_1, Y_2, Y_3$ be i.i.d continuous random variables. For $i = 1, 2$ define $U_i$ as $U_i=1$ if $Y_{i+1} > Y_i,$ $=0$ ,otherwise Find the mean and variance of $U_1 + U_2$ I can't find the distribution of $U_1 + U_2$.
Does it make any sense to apply the Dirichlet density function to only one x value and therefore one alpha parameter? (this would be the result of some bin merging) I'm asking because it appears that gtool's implementation always returns 0 in such case, whereas this implementation doesn't. And this is the only case wh...
Regarding multicollinearity, is it recommended to use ridge-regression if you have some covariates with VIF values around 10 in the OLS model? What would be the best VIF level to use to decide whether or not to do ridge-regression?
I would like to use double exponential smoothing to predict prevalence rates of care dependency in Austrian federal states. My data is very detailed, thus I would like to make use of that in order to refine my predictions. I have the percentage of people in care dependency levels 1–7 aged 50–99 in 9 Austrian federal s...
I am looking for online resources or books explaining how to develop prognostic indexes-scores step by step. I am mainly wondering about model validation and transformation of regression coefficients into scoring systems.
Can someone help me to understand fixed/random effect models? You may either explain in your own way if you have digested these concepts or direct me to the resource (book, notes, website) with specific address (page number, chapter etc) so that I can learn them without any confusion. Is this true: "We have fixed eff...
I'm working on a medical research project where we're looking at the changing resonances in femur bones during hip replacement operations. Some surgeons use the increasing pitch of the bone resonance to tell them when to stop hammering/reaming the shaft of the feamur. If they apply too much pressure when creating the c...
My colleague and I do the exactly same thing with the exactly same data and get different results. He uses Stata, I use R. We both use 32-bit Windows machines. Are there any possible explanations apart from human failure for this? The concrete problem is calculating c-indices for Cox models. His are up to 0.005 higher....
I am creating a search engine, with the corpus consisting of websites crawled through a webcrawler (Apache Nutch). I need the query searches to be both fast and relevant. So far, I have been trying to develop a Latent Semantic Indexing system, but I recently read an article that told me that LSA had not shown to be use...
Can anyone tell me under what conditions the beta estimates differ between lm and lmer with a random intercept? I came across a situation where the fixed effect differed considerably. I thought the std errors should change but the fixed effects should remain unchanged. The difference does not seem to be due to having d...
How can I know if the stochastic gradient descent algorithm is converging. I cannot plot my objective function and take its average for lets say every 1000 iterations to see the trend. My objective function itself is huge, so it takes lot of time to compute the objective function itself. In this situation, how to deter...
I'm a graduate student working on a thesis whose aim is to test complementarity between 2 practices (CI and INNO, according to theory of supermodularity). To do so, I calculated two new variables (each as a mean of 6 other variables) corresponding to the 2 practices, then derived from them 4 binary variables based on t...
I am currently analysing data of a big webshop with over 31,000 vendors selling goods, i.e. each vendor is selling items over the webshop. The cool thing is that we know the gender of these vendors (=individuals) and the categories of their products. Now, we want to see if there are categorical gender differences, i.e....
I built a suggestion system, which provides a list of candidate items to users. As users choose some items from the suggested list, the system remembers those choices, and the next time the system reorder the candidate list so the items that were heavily selected before will appear at the top of the list. So the more u...
I've been tasked with implementing a visualization something like this one from the New York Times: http://www.nytimes.com/interactive/2012/08/05/sports/olympics/the-100-meter-dash-one-race-every-medalist-ever.html?hp Mine doesn't have to be nearly this amazing and sophisticated, but I'd like to capture at least some o...
I am using rank(a, ties.method="max") to rank a. But I am not quite sure what does ties.method="max" do. Can you please help?
I have a simple Self organizing map that I have been working on. It has an output neuron for all 26 letters, and when I provide it with 26 samples (one for each letter) it quickly is trained to an error rate below 1%. It is fairly accurate, but when I want to add more samples, one for each output neuron, the lowest p...
After doing a factor analysis, I decide to use that factor to test a hypothesis. However, I am not sure what data type of the Factor score the is (i.e., nominal , scale, etc.). Can I do a t-test or ANOVA as usual?
I would like to obtain 95% confidence intervals for centroids based on Gower similarity between some mulivariate samples (community data from sediment cores). I have so far used the vegan{} package in R to obtain modified Gower similarity between cores (based on Anderson 2006; now included in R as part of vegdist()). D...
I have these groups where the values are responses to a 10-point Likert item: g1 <- c(10,9,10,9,10,8,9) g2 <- c(4,9,4,9,8,8,8) g3 <- c(9,7,9,4,8,9,10) Therefore I used Kruskal-Wallis to determine any differences between responses in the groups, and the result was: Kruskal-Wallis chi-squared = 5.9554, df = 2, p-value =...
I asked two groups of individuals (80 males and 10 females) fill out a questionnaire asking them their attitude towards a series of political variables. Every individual had to answered a set of 16 statements and tell me whether they agreed or disagreed with the statement presented to them (yes/no answers). I would li...
I have data from an experiment in which each participant provides a binary response to each presented stimulus, which is either correct (1) or incorrect (0). There are 4 different stimulus types, and 48 stimuli from each group are presented to each participant. I'd like to compare the accuracy achieved between pairs o...
I am currently analyzing data from a 34-item Likert scale. I already recoded the negatively stated variables in SPSS as different variables. I'm about to do a factor analysis. Should I use the original variables or the recoded variables in the factor analysis?
We are doing MCMC sampling over an n-dimensional space with a population of MCMCs. The goal is to have them stop when they approximately converge. The problem is that the convergence, which is so easily visually seen is hard to code. Typical Gelman-Rubin/Geweke work well for well behaved functions, but for some nasty ...
I have a dataset containing three variables. I have this confusion, low mse means higher correlation isn't it? Now when I calculate the mse for variable two and three where the third variable is my ground truth, I get higher mse than the one I get by comparing variable one and variable three (ground truth). However, wh...
I'm trying to test a prediction from a computational model with a biological experiment. The model predicts a linear dependence between cell size and asymmetry. I performed an experiment that is known to affect cell size, and got a nice significant slope when regressing asymmetry onto cell size. However, in biology, t...
I try to reproduce a plot which I found in a publication (Mayor-Fernández et al 2012) showing unemployment rates across time for several regions. It combines a heatmap (?), a time series plot (lower panel) and boxplots (right panel). For a better impression of the plot please see page 7 in http://www2.dse.unibo.it/wp/...
I'm in a work group that analyzes medical data. Unfortunately there's a lot of distrust if measured data gets to a competitor or is manipulated. So I was wondering if there would be a way to "watermark" the measured data before it leaves the house in a way that would not affect some chosen statistics. Searching for it...
In a Conjoint study, it's difficult for respondents to evaluate more than 6 product attributes at a time. Often this is solved via the use of Adaptive Conjoint Analysis (ACA), in which the questionnaire is modified for each individual respondent as the survey is being taken. In ACA, it is not necessary to show the fu...
Consider the following example: t = 1/24:1/24:365; x = cos((2*pi)/12*t)+randn(size(t)); % if you have the signal processing toolbox [Pxx,F] = periodogram(x,rectwin(length(x)),length(x),1); plot(F,10*log10(Pxx)); xlabel('Cycles/hour'); ylabel('dB/(Cycles/hour'); This demonstrates the dominant periodicity in the data se...
I am working with a set of genes for which I have both methylation values $\beta$ (continuous on unit interval) and gene expression $E$ (non-negative continuous) that I want to test for correlation $\hat\rho(log_2E,\beta)=R$. To filter out only the significant correlations I perform a permutation test where for each si...
I have the rank percentages of students in 38 exams as the dependent variable in my study. A rank percentage is calculated by (a student's rank / number of students in an exam). This dependent variable has nearly uniform distribution and I want to estimate the effects of some variables on the dependent variable. Whic...
I asked a related question before here on the difference between GEE method with exchangeable varcov structure v. Robust standard errors known as Huber White method in group randomized trials. As Macro pointed out Freedman in his 2006 paper The American Statistician called On The So-Called “Huber Sandwich Estimator” an...
I want to fit a negative binomial model for my count data. I am wondering what the differences for the computation of these three PROCs are in SAS.
I need to do some simple mean comparisons between groups (basic ANOVA F-tests) on data with missing values. I use the mice package in R for multiple imputation, but I can only pool results for the linear model coefficients, or the $R^2$. Does anyone know how to combine to pool multiple F-statistics from each linear mod...
I have a timeseries dataset holding stock data for a large set of companies. Assume the following subset, where obsDay is the observation day (148 days in reality) and weekDay the day of the week (1 = monday, 2 = tuesday, ...): company sector obsDay weekDay stockPrice ------------------------------------------- 1 ...
This might be a strange case, but I'm sure that somebody in here can help me and that I'm perhaps not the only one who wants to pool RSDs correctly. Consider this: The mean weight of a powder bed is W mg with a relative standard deviation (RSD) of Wrsd %. For each weighted powder bed a precise counting of the particle...
If I have a data set with many values repeated (example below) how would it be divided into quartiles? I assumed at first that the quartiles would be uneven, but every single definition I've read makes it sound like they must be equal. Example: { 1, 1, 4, 4, 4, 4, 8, 8}
I have two continuous predictor variables to predict a dichotomous variable. In addition i have constructed two (interaction) models, based on domain knowledge which use both variables to predict the third. So now i want to compare these predictors, using R. I get these result on the wilcox test: W = 36655, p-value = 3...
Let's say I have the following data and am running a regression model: df=data.frame(income=c(5,3,47,8,6,5), won=c(0,0,1,1,1,0), age=c(18,18,23,50,19,39), home=c(0,0,1,0,0,1)) On one hand, I run a linear model to predict on income: md1 = lm(income ~ age + home + home, data=df)...
EDIT: I have solved this problem myself. The problem with the simulation below is that the omitted variable should not be included in the 'true model'. I have written a blog post with a more detailed analysis here. I am trying to calculate the Average Structural Function (ASF) for a binary response regression model wit...
I am looking at a situation where I have a population of about 150-170. I am testing for the absence or presence of a particular property. Given the population, I can easily figure out the sample size needed for various confidence levels. However, I have read in a number of places (e.g., wikipedia) that that a higher ...