As far as I know, coxph handles ties by default, and there are 3 options for handling ties. I wonder how svycoxph in the survey package handles ties. ...
As far as I know, coxph handles ties by default, and there are 3 options for handling ties. I wonder how svycoxph in the survey package handles ties. ...
I'm trying to calculate a weighted median, but don't understand the difference between the following two methods. The answer I get from weighted.media ...
I have table1 line products product variety weight rate 1 a 49 ...
I´m working on a project that involves analysing the income of those who belong to the active population on a certain territorial area (an Autonomous ...
I'm currently working with public use microdata that requires survey weighting, thus I've gotten fairly familiar with the survey package and srvyr for ...
I am wondering if it is possible to do a weighted sample on a population where the sample can not contain certain people but I would still like to con ...
Good afternoon everyone! I have been working on this regression for a some time now and have built a model I am somewhat satisfied of. Here is the c ...
I am trying to calculate the alphabetic grade based on the product of the column weight and the sum of count. I had the following dax code: after ...
I'm trying to run a weighted Cox regression model but none of the resources I found were actually useful to figure out how to do that. Basically, I j ...
Due to the size of my data, I have my training, validation and test data fed via a generator as below: From my previous questions accepted answer, ...
I have a table of customers that I want to assign a test group. I want to assign a test group based on weighted values. Example: Result: ...
I'm working on a Minecraft spigot hobbyp roject and decided to add openable chests and boss drops. Generating elements by weight is something I did be ...
I have 2 nested lists, Wmat and Wmat_b, showing the neighborhood structure of 10 unit areas, up to the 3rd order. Wmat consists of 3 elements, the ...
I am trying to obtain some summary statistics in R using the dplyr package. Although weighted means are easy to get, I struggle with weighted SD. Typi ...
Suppose I have some weights [w_1,w_2,...,w_n] and I have the following conditions: a < w_i < b for each i w_1 + w_2 + ... + w_n = 1 Is ...
In R using GLM to include all variables you can simply use a . as shown How to succinctly write a formula with many variables from a data frame? for ...
I have a set of 256x256 images that are each labeled with nine, binary 256x256 masks. I am trying to calculate the pos_weight in order to weight the B ...
I have a dataset with several groups, where I want to calculate a median value for each group using dplyr. The data are weighted, and the weights need ...
I am trying to have weighted means for a list of dependent variables break down by a list of independent variables. To do this, I first created a fun ...
I need to calculate weights from a column in a dataframe based on some conditions. I have Total Assets from several banks, with different countries, ...