search for: percentag

Displaying 20 results from an estimated 1891 matches for "percentag".

Did you mean: percentage
2010 Jun 17
5
Optimization problem
...e solution. Well, to make it short: I have to set/install a number of devices in a building, and I have to give service to a number of "customers", or better say, to give a good quality of the signal. The more devices I place, the higher the signal. The signal is measured in a (coverage) percentage, the higher the percentage, the better the service. The max percentage is (obviously) 100%. As an example: Example 1: ---------- devices<-1:49 percentages<-c(15.8,29.3,43.1,52.9,61.8,70.4,77.6,84.4,88.6,90.9,92.7,93.2,9 4.1,94.6,95.4,96.1,96.5,97,97.3,97.8,98.1,98.7,99,99.4,99.5,99.6,99.7,...
2009 Mar 26
2
loading and manipulating 10 data frames-simplified
...cres=Bin1_main[[1]]*43560 #Separates TAZ data from main data Bin1_TAZ=Bin1_main[[2]] #Separates TAZ data from main data and converts acres to square feet Bin1_TAZvacant=Bin1_main[[3]]*43560 #Sums each parcel acreage data of the bin Bin1Acres_sum=sum(Bin1_Acres) #Creates data frame of cumlative percentages of each parcel of bin Bin1_cumper=cumsum(Bin1_Acres/Bin1Acres_sum) #Calculates the probability of choosing particular parcel from bin Bin1_parprob=abs(1-Bin1_cumper) #Combines parcel acreage data and cumlative percentage data Bin1Main.data = cbind(Bin1_Acres,Bin1_parprob,Bin1_TAZ,Bin1_TAZvacant...
2003 Feb 28
0
(multiway) percentage tables
R has amazing capabilities, but percentage tables are a weak spot IMHO. There's prop.table but that's rather unwieldly, especially for multiway tables. CrossTable by Marc Schwartz in the gregmisc library makes percentage tables a breeze but is limited to two-way tables. So I decided to try my own hand at writing an R-function that...
2003 Mar 06
0
modifying ftable to allow percentages (wishlist) (PR#2606)
Full_Name: John Hendrickx Version: 1.6.2 OS: Windows XP Submission from: (NULL) (80.126.78.108) (This is not a bug report but a request to add a feature to future versions of R. Hope this is an appropriate place). I'd like to suggest adding an option to ftable to allow percentages. It would be easy to do and backwards compatible. Percentage tables are useful in educational contexts, whereas lack of a simple method for calculating percentages gives an incorrect impression of the maturity of R IMHO. To add percentage tables to ftable, an option such as pcnt=c("n"...
2012 Jan 27
4
percentage from density()
Hi folks, I know that density function will give a estimated density for a give dataset. Now from that I want to have a percentage estimation for a certain range. For examle: > y = density(c(-20,rep(0,98),20)) > plot(y, xlim=c(-4,4)) Now if I want to know the percentage of data lying in (-20,2). Basically it should be the area of the curve from -20 to 2. Anybody knows a simple function to do it? Thanks, D.
2010 May 14
2
multhist,labels and percentages
Hi All, I am in the annoying position of having to present some data to someone who seems to be somewhat less than numerate. I need to label the y-axes of a multhist with the y-axis labeled not as counts but as percentage of a population. Plotting the standard histogram is in a way fine, all I need is to: -- have a left-handside y-axis labels for pop 1 and a right-handside y-axis labels for pop2 -- replace the counts in each axis with population percentages (easy to calculate, but how to stick them there?) Any su...
2010 Jan 12
2
Calculate the percentages of the "numbers" in every column.
...table like this, I have A B C D ... levels, the first column you see is just the index, and there are different numbers in the table. A B C D ... 1 0 2 1 0 2 1 0 2 1 3 2 3 0 0 4 0 0 1 0 5 0 2 3 1 ... I want to calculate the frequencies or the percentages of the numbers in every column. How do I get a table like this, the first column is the levels of numbers, and the numbers inside the table are the percentages. All the percentages should add up to 1 in every column. A B C D ... 0 0.2 0.3 0.1 0.1 1 0.1 0.1 0...
2018 Mar 13
1
Profiling Support for BareMetal Target
...verage: No coverage data found I could see the following : $ llvm-profdata.exe show -detailed-summary default.profraw Total functions: 1 Maximum function count: 1 Maximum internal block count: 0 Detailed summary: Total number of blocks: 1 Total count: 1 0 blocks with count >= 0 account for 80 percentage of the total counts. 0 blocks with count >= 0 account for 90 percentage of the total counts. 0 blocks with count >= 0 account for 95 percentage of the total counts. 0 blocks with count >= 0 account for 99 percentage of the total counts. 0 blocks with count >= 0 account for 99.9 percent...
2008 May 23
3
Percentages for categorical data by group
...t can be easily combined to do this: I have a data frame with about 23000 observations. There first variable is the group to which the observation belongs (about 500 different groups). The second variable is a response for each observation that is a 1,2,3,4 or 5. I want to be able to calculate the percentage of each group that choose each response. For example I want to know what percentage of group 1 (which may have a value of 34456) choose response 1 and so on. Here is some code I wrote that generates a data frame like the one I have. pop <- matrix(1:100000) groupIDs <- sample(pop,500) group...
2010 Oct 27
2
Generate random percentages and placing vectors
Hello everyone, I have two questions: 1.) I would like to generate random percentages that add up to 100. For example, if I need 5 percentages, I would obtain something like: 20, 30, 40, 5, 5. Is there some way to do this in R? 2.) I would like to insert vectors of specified length into a larger vector of specified length randomly, and fill the gaps with zeroes. For example, if I...
2006 Feb 01
3
format of 2x2 table
Does anyone know how I can generate a 2x2 table in a format where in each cell of the table, it contains a) count (frequency) b) total percentage c) row percentage d) column percentage. SAS can generate this format easily, is there a R package that can do this? Frequency | Percent | Row Pct | Col Pct | positive negative | Total --------------------------------|------- disease | 6 22 | 28 | 20.69...
2010 Feb 24
2
How to read percentage and currency data?
I'm struggling to find any help on this seemingly simple question - how does one read data with percentage (%) or currency (?,$ etc.) signs? When I try to read a data file which has any of those symbols in the data fields, they are read as characters rather than values. Is there a function or library which can deal with such values? As an example, I use this sample from one of chinna's questions:...
2001 Feb 12
1
logistic regression with percentages
Hello I've got some data and I want to fit a binomial glm. The problem is that I don't have the number of successes or failures, I have only the percentages. If I want to make all these numbers integers, I have to multiply them for 1000, because there are some low percentages (0.05%). Besides, I don't know if this is correct. Any help? Thanks in advance, and sorry for my english Julio G?mez -------------- next part -------------- An HTML attach...
2012 Aug 08
1
Calculating percentages across multiple columns
I have the following data and am trying to find the percentage of bid values purchased for that price. So let's say I have a bid of 5 and it's sold 2 times for $3 and $5. Since the original bid was $5, the percentage of times that that bid value results in a sold purchase AT that specific bid level was 1/3 because of the three time where the bid was...
2013 Jan 30
1
Percentages in bar plot
Dear R-users, Though it's a silly thing to ask, but I'm not getting a way out. I wish to find the percentage distribution for a data vector 'stop'. The coomand below is giving the frequency distribution. May I know the option to see the percentages instead of frequencies. Similarly, what option I should put in a histogram plot to see the percentages instead of frequencies? --------------------...
2006 May 24
2
Has Many Through + Join Model + Forms + Confused?
Hello, I''m trying to implement something like the following scenario. I''ve got "Alloys" (blends of metals), "Metals" and "Percentages" I want to implement this using a join model, not using a has_and_belongs_to_many relationship. (If i''m wrong about that, let me know). Basically, i have the following tables: Metals id name Alloys id name Percentages alloy_id metal_id percent And the foll...
2012 Aug 28
7
check and verify
Hi, I have 6 columns in my dataframe (test) A B C D E F a b c d 40 30 a f a b 20 10 x m y m 50 30 If character value in column A matches with that in column C, it gets the percentage in column E, similarly if value in column B matches the value in D, it gets the percentage in F column. If it doesn't match, it gets 0 percentage. How can I do that ? thanks [[alternative HTML version deleted]]
2024 Jan 28
1
2SLS with Fixed Effects and Control Variables
...um Wage2`) + numeric(IVinteration) (whereas Real Minimum Wage2 is the quadratic form of Real Minimum Wage) Time and Region Fixed Effects: factor(Region) + numeric(Year) + Region:Year (whereas Region:Year is and interaction term of Region and Year) Control Variables: factor(Region), numeric(`Woman Percentage`), numeric(`Noneducated Percentage`) Parameter 1: ivreg(WageInequality ~ EffectiveMinimum + EffectiveMinimum2 + Region | `Log Real Minimum Wage` + `Log Real Minimum Wage2` + IVinteration + Region, dataset)) Parameter 2: ivreg(WageInequality ~ EffectiveMinimum + EffectiveMinimum2 + Region + Year...
2005 Jan 20
5
glm and percentage data with many zero values
Dear all, I am interested in correctly testing effects of continuous environmental variables and ordered factors on bacterial abundance. Bacterial abundance is derived from counts and expressed as percentage. My problem is that the abundance data contain many zero values: Bacteria <- c(2.23,0,0.03,0.71,2.34,0,0.2,0.2,0.02,2.07,0.85,0.12,0,0.59,0.02,2.3,0.29,0.39,1.32,0.07,0.52,1.2,0,0.85,1.09,0,0.5,1.4,0.08,0.11,0.05,0.17,0.31,0,0.12,0,0.99,1.11,1.78,0,0,0,2.33,0.07,0.66,1.03,0.15,0.15,0.59,0,0.0...
2006 Sep 19
1
Adding percentage to Pie Charts (was (no subject))
...et the axis to go from 0 to the total of all groups (see the example I sent before, it could have had the numbers on the x-axis, but still included the total), that means that points near the middle of the line represent about 50%, looking at how close the point is to the left lets you estimate the percentage and most people (you may differ) do a better job of estimating that percentage from the position of the dot than from an angle or area. If you feel the need to specify the percentages along the side of a dot chart, then at least they are lined up vertically for easy comparison (my example would h...