TWIN CITIES, MN — Tired of punching someone else's time clock? If you've been thinking about starting your own business, you're well positioned if you live in Oklahoma City, Oklahoma, the best large city to start a new business, according to a new study.

Minneapolis ranked 39 among 180 cities considered in the analysis. Saint Paul ranked much lower at 98. About 15 million people, or about 10 percent of the U.S. labor force are self-employed, according to the personal finance website WalletHub. Some of the greatest opportunities are available in the technology sector, but others cited by WalletHub experts include transportation and the moving of goods and services, rideshare services like Uber and Lyft, artificial intelligence, and renewable energy.

The website looked at what it takes for a startup to be successful, from the five-year business survival rate to the affordability of office space, across three areas — business environment, access to resources and business costs. Minneapolis — ranked 39 overall — got high marks for access to resources but lower marks for business environment (70) and business costs (117).

Saint Paul — ranked 98 overall — ranked 104 for business environment, 92 for access to resources, and 113 for business cost. The biggest mistake entrepreneurs make is not learning from their mistakes and not making enough purposeful mistakes, Colette Hoption, an associate professor of management at the Albers School of Business and Economics at Seattle University, said in a statement accompanying the study.

"Mistakes are a part of learning," she said. "They can keep us humble and grounded. And when used strategically, they can help us avoid common decision-making traps."

Adaptability and quick thinking are important in entrepreneurship, she said, noting "it's important to remember that you can't know all of the answers [and] all of the important moves all the time because some things will take us by surprise.

Here are the top 10 cities: 1. Oklahoma City, Oklahoma

2. Austin, Texas

3. Sioux Falls, South Dakota

4. Missoula, Montana

5. Durham, North Carolina

6. Bismarck, North Dakota

7. Cheyenne, South Dakota

8. Billings, Montana

9. Charlotte, North Carolina

10. Raleigh, North Carolina