Independent and dependent variables are mathematical tools used in an experiment to keep track of what's going on. They allow you to maintain control over your experiment in a quantitative way. That is, using them, you will be able to measure your results and draw accurate conclusions.
Compton is not that bad. I think the most dangerous streets of Compton are located in North Compton. For example, in Long Beach Blvd, border with Lynwood, you see a lot of prostitution. Some nice parts of Compton are the are located in the Sunny Cove area near the airport and small pockets all throughout the city.
Parts of the neighborhood's hilly terrain are quite steep and Walkscore's map shows City Terrace to be the least walkable part of East Los Angeles but nearly everything that would interest a casual explorer or visitor is located near easily walkable of bikeable City Terrace Drive, which is also served by public transit.