search for: wssum

Displaying 1 result from an estimated 1 matches for "wssum".

Did you mean: assum
2008 Nov 23
2
Latin Hypercube with condition sum = 1
Hi I want to du a sensitivity analysis using Latin Hypercubes. But my parameters have to fulfill two conditions: 1) ranging from 0 to 1 2) have to sum up to 1 So far I am using the lhs package and am doing the following: library(lhs) ws <- improvedLHS(1000, 7) wsSums <- rowSums(ws) wss <- ws / wsSums but I think I can't do that, as after the normalization > min(wss) [1] 0.0001113015 > max(wss) [1] 0.5095729 Therefore my question: how can I create a Latin Hypercube whicgh fulfills the conditions 1) and 2)? Thanks a lot Rainer -- Rainer M...